Changeset 0642d6 in git
- Timestamp:
- Apr 7, 2011, 11:43:46 AM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 7c230ff8e2d24453069aa4a9c80d882e8f9266d2
- Parents:
- 830ef89e5dc0be692aac1a170b5523278b45caba
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/omAllocDecl.h
r830ef8 r0642d6 21 21 22 22 23 #if !defined(OMALLOC_C) && !defined(OM_NO_MALLOC_MACROS)24 #define calloc omcalloc25 #define malloc omalloc26 #define free omfree27 #define realloc omrealloc28 #define freeSize omfreeSize29 #define reallocSize omreallocSize30 #endif31 32 23 #if (!defined(OM_EMULATE_OMALLOC) && !defined(OM_NDEBUG) && (defined(OM_CHECK) || (defined(OM_HAVE_TRACK) && defined(OM_TRACK)))) || defined(OM_T1) 33 24 … … 63 54 #define omalloc(size) _omDebugAlloc((void*)(size),OM_FSIZE|OM_FSLOPPY|OM_FALIGN|_OM_FKEEP,OM_CTFL) 64 55 #define omalloc0(size) _omDebugAlloc((void*)(size),OM_FSIZE|OM_FZERO|OM_FSLOPPY|OM_FALIGN|_OM_FKEEP,OM_CTFL) 65 #define omcalloc(n,size)_omDebugAlloc((void*) ((size)*n),OM_FSIZE|OM_FZERO|OM_FSLOPPY|OM_FALIGN|_OM_FKEEP,OM_CTFL)66 56 67 57 #else … … 78 68 #define omalloc(size) _omalloc(size) 79 69 #define omalloc0(size) _omalloc0(size) 80 #define omcalloc(n,size)_omalloc0(n*size)81 70 82 71 #endif … … 252 241 #define omalloc(size) _omalloc(size) 253 242 #define omalloc0(size) _omalloc0(size) 254 #define omcalloc(n,size)_omalloc0(n*size)255 243 256 244 #define omreallocSize(addr,o_size,size) _omreallocSize(addr,o_size,size)
Note: See TracChangeset
for help on using the changeset viewer.