Changeset 21301 for trunk/include/heapshared.h
- Timestamp:
- Jun 16, 2009, 3:47:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/heapshared.h
r8896 r21301 17 17 void SYSTEM DestroySharedHeap(); 18 18 19 void * SYSTEM _smalloc(int size); 20 void * SYSTEM _smallocfill(int size, int filler); 21 #define _sfree(a) free(a) 19 #ifdef DEBUG 20 void * _System _debug_smalloc(int size, char *pszFile, int linenr); 21 void * _System _debug_smallocfill(int size, int filler, char *pszFile, int linenr); 22 void _System _debug_sfree(void *chunk, char *pszFile, int linenr); 23 24 #define _smalloc(a) _debug_smalloc((a),__FILE__,__LINE__) 25 #define _smallocfill(a,b) _debug_smallocfill((a),(b),__FILE__,__LINE__) 26 #define _sfree(a) _debug_sfree((a),__FILE__,__LINE__) 27 #else 28 void * _System _smalloc(int size); 29 void * _System _smallocfill(int size, int filler); 30 #define _sfree(a) free(a) 31 #endif 22 32 23 33 #endif
Note:
See TracChangeset
for help on using the changeset viewer.