LAR Library: mem.h Source File

LAR Library

mem.h
Go to the documentation of this file.
1 #ifndef LARLIB_MEM_H
2 #define LARLIB_MEM_H
3 
26 #include <larlib/base.h>
27 
40 void *memAlloc(int nb);
41 
53 void *memAllocZero(int nb);
54 
70 void *memRealloc(void *oldp, int nb);
71 
77 void memFree(void *p);
78 
79 /* @} */
80 
81 #endif
void * memAlloc(int nb)
Allocate a block of memory from the heap.
void * memRealloc(void *oldp, int nb)
Resize a block of memory, or allocate a new one.
void memFree(void *p)
Release a previously allocated block.
void * memAllocZero(int nb)
Allocate and zero a block of memory from the heap.
Larlib basic definitions.
Generated on Mon Mar 27 2017 15:42:52 for LAR Library by   doxygen 1.8.9.1