MLT  7.28.0
mlt_pool.h
Go to the documentation of this file.
1 
23 #ifndef MLT_POOL_H
24 #define MLT_POOL_H
25 
26 extern void mlt_pool_init();
27 extern void *mlt_pool_alloc(int size);
28 extern void *mlt_pool_realloc(void *ptr, int size);
29 extern void mlt_pool_release(void *release);
30 extern void mlt_pool_purge();
31 extern void mlt_pool_close();
32 extern void mlt_pool_stat();
33 
34 #endif
void mlt_pool_stat()
Definition: mlt_pool.c:407
void mlt_pool_purge()
Purge unused items in the pool.
Definition: mlt_pool.c:354
void mlt_pool_release(void *release)
Release the allocated memory.
Definition: mlt_pool.c:386
void * mlt_pool_alloc(int size)
Allocate size bytes from the pool.
Definition: mlt_pool.c:289
void * mlt_pool_realloc(void *ptr, int size)
Allocate size bytes from the pool.
Definition: mlt_pool.c:316
void mlt_pool_close()
Close the pool.
Definition: mlt_pool.c:397
void mlt_pool_init()
Initialise the global pool.
Definition: mlt_pool.c:259