13#ifndef __WMEM_ALLOCATOR_H__
14#define __WMEM_ALLOCATOR_H__
38 void *(*wrealloc)(
void *
private_data,
void *ptr,
const size_t size);
_wmem_allocator_type_t
Definition wmem_core.h:47
Internal memory allocator interface used by the wmem subsystem.
Definition wmem_allocator.h:34
enum _wmem_allocator_type_t type
Definition wmem_allocator.h:50
void(* wfree)(void *private_data, void *ptr)
Definition wmem_allocator.h:37
struct _wmem_user_cb_container_t * callbacks
Definition wmem_allocator.h:46
void(* cleanup)(void *private_data)
Definition wmem_allocator.h:43
void(* gc)(void *private_data)
Definition wmem_allocator.h:42
bool in_scope
Definition wmem_allocator.h:51
void(* free_all)(void *private_data)
Definition wmem_allocator.h:41
void * private_data
Definition wmem_allocator.h:49
Definition wmem_user_cb.c:18