xine-lib 1.2.13-20230125hg15249
Typedefs | Functions
goomsl_heap.h File Reference

Go to the source code of this file.

Typedefs

typedef struct _GOOM_HEAP GoomHeap
 

Functions

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

Typedef Documentation

◆ GoomHeap

typedef struct _GOOM_HEAP GoomHeap

Resizable Array that guarranty that resizes don't change address of the stored datas.

This is implemented as an array of arrays... granularity is the size of each arrays.

Function Documentation

◆ 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)