xine-lib 1.2.11
Data Structures | Functions
goomsl_heap.c File Reference
#include "goomsl_heap.h"
#include <stdint.h>
#include <stdlib.h>

Data Structures

struct  _GOOM_HEAP
 

Functions

GoomHeapgoom_heap_new (void)
 
GoomHeapgoom_heap_new_with_granularity (int granularity)
 
void goom_heap_delete (GoomHeap *_this)
 
static void align_it (GoomHeap *_this, int alignment)
 
void * goom_heap_malloc_with_alignment_prefixed (GoomHeap *_this, int nb_bytes, int alignment, int prefix_bytes)
 
void * goom_heap_malloc_with_alignment (GoomHeap *_this, int nb_bytes, int alignment)
 
void * goom_heap_malloc (GoomHeap *_this, int nb_bytes)
 

Function Documentation

◆ align_it()

static void align_it ( GoomHeap _this,
int  alignment 
)
static

◆ goom_heap_delete()

void goom_heap_delete ( GoomHeap _this)

◆ goom_heap_malloc()

void * goom_heap_malloc ( GoomHeap _this,
int  nb_bytes 
)

◆ goom_heap_malloc_with_alignment()

void * goom_heap_malloc_with_alignment ( GoomHeap _this,
int  nb_bytes,
int  alignment 
)

◆ goom_heap_malloc_with_alignment_prefixed()

void * goom_heap_malloc_with_alignment_prefixed ( GoomHeap _this,
int  nb_bytes,
int  alignment,
int  prefix_bytes 
)

◆ goom_heap_new()

GoomHeap * goom_heap_new ( void  )

◆ goom_heap_new_with_granularity()

GoomHeap * goom_heap_new_with_granularity ( int  granularity)