36 struct _cx_memory_vtable_ {
 
   37     cxptr (*malloc) (cxsize);
 
   38     cxptr (*calloc) (cxsize, cxsize);
 
   39     cxptr (*realloc) (cxptr, cxsize);
 
   43 typedef struct _cx_memory_vtable_ cx_memory_vtable;
 
void cx_free(cxptr)
Memory block deallocation. 
Definition: cxmemory.c:494
cxptr cx_realloc(cxptr, cxsize)
Change the size of a memory block. 
Definition: cxmemory.c:449
cxptr cx_malloc(cxsize)
Allocate nbytes bytes. 
Definition: cxmemory.c:288
cxptr cx_calloc(cxsize, cxsize)
Allocate memory for natoms elements of size size. 
Definition: cxmemory.c:388
cxbool cx_memory_is_system_malloc(void)
Check if the system's defaults are used for memory allocation. 
Definition: cxmemory.c:534
cxptr cx_malloc_clear(cxsize)
Allocate nbytes bytes and clear them. 
Definition: cxmemory.c:337
void cx_memory_vtable_set(const cx_memory_vtable *)
Install a new set of memory managmement functions. 
Definition: cxmemory.c:236