Changeset 502 for GPL/trunk/include/malloc.h
- Timestamp:
- Jul 11, 2010, 7:06:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/include/malloc.h
r32 r502 25 25 #define MALLOC_INCLUDED 26 26 27 #define DEFAULT_HEAP 256*1024 28 #define HEAP_SIZE 256*1024 29 27 30 // Standard malloc.h functions 28 31 … … 30 33 // put in seperate private segments) 31 34 #ifdef DEBUGHEAP 32 void NEAR *malloc( unsignedsize, const char *filename, int lineno);35 void NEAR *malloc(ULONG size, const char *filename, int lineno); 33 36 void free(void *NEAR ptr, const char *filename, int lineno); 34 37 void NEAR *realloc(void *NEAR ptr, unsigned newsize, const char *filename, int lineno); 35 38 #else 36 void NEAR *malloc( unsigned);39 void NEAR *malloc(ULONG size); 37 40 void free(void NEAR *); 38 41 void NEAR *realloc(void NEAR *, unsigned); … … 49 52 50 53 // Specialized routines 51 unsigned HeapInit(unsigned); // initializes the heap manager54 ULONG HeapInit(ULONG size); // initializes the heap manager 52 55 void dumpheap(void); 53 56
Note:
See TracChangeset
for help on using the changeset viewer.