Details
MemoryPool
typedef struct _MemoryPool MemoryPool;
memory_pool_new ()
MemoryPool* memory_pool_new (void);
memory_pool_with_custom_destructor ()
MemoryPool* memory_pool_with_custom_destructor (GDestroyNotify notify);
memory_pool_add ()
gpointer memory_pool_add (MemoryPool *pool,
gpointer ptr);
memory_pool_allocate ()
gpointer memory_pool_allocate (MemoryPool *pool,
gsize sz);
memory_pool_release ()
void memory_pool_release (MemoryPool *pool,
gpointer addr);
memory_pool_cleanup ()
void memory_pool_cleanup (MemoryPool *pool);
memory_pool_destroy ()
void memory_pool_destroy (MemoryPool *pool);
memory_pool_strdup ()
gchar* memory_pool_strdup (MemoryPool *pool,
gchar *src);
memory_pool_alloc_object()
#define memory_pool_alloc_object(pool, obj)