Go to the documentation of this file. 21 extern char *malloc();
22 extern char *realloc();
30 #define Alloc(theNum, theType) \ 31 (theType *)HDmalloc(sizeof(theType) * (theNum)) 33 #define Alloc(theNum, theType) \ 34 (theType *)malloc(sizeof(theType) * (theNum)) 40 #define Free(ptr) HDfree((VOIDP)ptr) 42 #define Free(ptr) free(ptr) 43 #define HDfree(ptr) free(ptr) 48 #define Free(ptr) (void)HDfree((char *)ptr) 50 #define Free(ptr) (void)free((char *)ptr) 51 #define HDfree(ptr) (void)free((char *)ptr) 58 #define HDcalloc(nelem, elsize) calloc(nelem,elsize) 59 #define HDmemset(dst,c,n) memset(dst,c,n) 60 #define HDrealloc(p,s) realloc(p,s) 61 #define HDmalloc(s) malloc(s) 64 #define ARRAYLEN(arr) (sizeof(arr)/sizeof(arr[0]))
MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53