MISR Toolkit
1.5.1
|
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | Alloc(theNum, theType) (theType *)malloc(sizeof(theType) * (theNum)) |
#define | Free(ptr) free(ptr) |
#define | HDfree(ptr) free(ptr) |
#define | HDcalloc(nelem, elsize) calloc(nelem,elsize) |
#define | HDmemset(dst, c, n) memset(dst,c,n) |
#define | HDrealloc(p, s) realloc(p,s) |
#define | HDmalloc(s) malloc(s) |
#define | ARRAYLEN(arr) (sizeof(arr)/sizeof(arr[0])) |
#define Alloc | ( | theNum, | |
theType | |||
) | (theType *)malloc(sizeof(theType) * (theNum)) |