MLT  7.38.0
Multimedia Framework
mlt_pool.h
Go to the documentation of this file.
1 
23 #ifndef MLT_POOL_H
24 #define MLT_POOL_H
25 
26 #include "mlt_export.h"
27 MLT_EXPORT void mlt_pool_init();
28 MLT_EXPORT void *mlt_pool_alloc(int size);
29 MLT_EXPORT void *mlt_pool_realloc(void *ptr, int size);
30 MLT_EXPORT void mlt_pool_release(void *release);
31 MLT_EXPORT void mlt_pool_purge();
32 MLT_EXPORT void mlt_pool_close();
33 MLT_EXPORT void mlt_pool_stat();
34 
35 #endif
MLT_EXPORT void mlt_pool_stat()
Definition: mlt_pool.c:416
void mlt_pool_purge()
Purge unused items in the pool.
Definition: mlt_pool.c:363
void mlt_pool_release(void *release)
Release the allocated memory.
Definition: mlt_pool.c:395
void * mlt_pool_alloc(int size)
Allocate size bytes from the pool.
Definition: mlt_pool.c:298
void * mlt_pool_realloc(void *ptr, int size)
Allocate size bytes from the pool.
Definition: mlt_pool.c:325
void mlt_pool_close()
Close the pool.
Definition: mlt_pool.c:406
void mlt_pool_init()
Initialise the global pool.
Definition: mlt_pool.c:268