| 87 | static inline void * omAlloc0(size_t s) |
| 88 | { void *d=malloc(s);memset(d,0,s); return d; } |
| 89 | static inline void * omalloc0(size_t s) |
| 90 | { if (s!=0) { void *d=malloc(s);memset(d,0,s); return d;} else return NULL; } |
| 91 | |
| 92 | static inline void *omRealloc0Size(void *d, __attribute__((unused)) size_t os, size_t ns) |
| 93 | { if (d==NULL) |