28 struct _cx_memory_vtable_ {
 
   29     cxptr (*malloc) (cxsize);
 
   30     cxptr (*calloc) (cxsize, cxsize);
 
   31     cxptr (*realloc) (cxptr, cxsize);
 
   35 typedef struct _cx_memory_vtable_ cx_memory_vtable;
 
void cx_free(cxptr)
Memory block deallocation. 
Definition: cxmemory.c:486
cxptr cx_realloc(cxptr, cxsize)
Change the size of a memory block. 
Definition: cxmemory.c:441
cxptr cx_malloc(cxsize)
Allocate nbytes bytes. 
Definition: cxmemory.c:280
cxptr cx_calloc(cxsize, cxsize)
Allocate memory for natoms elements of size size. 
Definition: cxmemory.c:380
cxbool cx_memory_is_system_malloc(void)
Check if the system's defaults are used for memory allocation. 
Definition: cxmemory.c:526
cxptr cx_malloc_clear(cxsize)
Allocate nbytes bytes and clear them. 
Definition: cxmemory.c:329
void cx_memory_vtable_set(const cx_memory_vtable *)
Install a new set of memory managmement functions. 
Definition: cxmemory.c:228