MLT  7.34.0
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:415
void mlt_pool_purge()
Purge unused items in the pool.
Definition: mlt_pool.c:362
void mlt_pool_release(void *release)
Release the allocated memory.
Definition: mlt_pool.c:394
void * mlt_pool_alloc(int size)
Allocate size bytes from the pool.
Definition: mlt_pool.c:297
void * mlt_pool_realloc(void *ptr, int size)
Allocate size bytes from the pool.
Definition: mlt_pool.c:324
void mlt_pool_close()
Close the pool.
Definition: mlt_pool.c:405
void mlt_pool_init()
Initialise the global pool.
Definition: mlt_pool.c:267