- Timestamp:
- Apr 8, 2017, 5:35:22 PM (7 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 3c5f5fdf2c64b5ced7e254997007e96a6d07accc
- Parents:
- 4a0e4ea61e709d6664315404b52dd64b5469d1dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
omalloc/omMallocSystem.h
r4a0e4e rc2f5726 21 21 #define OM_MALLOC_SIZEOF_ADDR(addr) (malloc_usable_size(addr)) 22 22 #else 23 static inline OM_MALLOC_SIZEOF_ADDR(void *d) { long*dd=(long*)d; return *(dd-1); }23 static inline size_t OM_MALLOC_SIZEOF_ADDR(void *d) { long*dd=(long*)d; return *(dd-1); } 24 24 #endif 25 25
Note: See TracChangeset
for help on using the changeset viewer.