Changeset fa3704 in git
- Timestamp:
- Sep 10, 2014, 1:04:50 PM (9 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 4f51f2079a93daf4647cd134d5b608fd40f62d5a
- Parents:
- a8203aefe844ecfbfeb79cb449141a4d56f0f71f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
xalloc/omalloc.h
ra8203ae rfa3704 71 71 static inline void * omAlloc0(size_t s) 72 72 { void *d=omAlloc(s);memset(d,0,s); return d; } 73 static inline void * omalloc0(size_t s) 74 { if (s!=0) { void *d=omAlloc(s);memset(d,0,s); return d;} else return NULL; } 73 75 74 76 static inline void *omRealloc(void *d, size_t ns)
Note: See TracChangeset
for help on using the changeset viewer.