Changeset 2511 for trunk/src/win32k/include/malloc.h
- Timestamp:
- Jan 24, 2000, 7:19:01 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/include/malloc.h
r1678 r2511 1 /* $Id: malloc.h,v 1. 5 1999-11-10 01:45:32bird Exp $1 /* $Id: malloc.h,v 1.6 2000-01-24 18:18:59 bird Exp $ 2 2 * 3 3 * Heap. … … 28 28 * Exported Functions and Variables * 29 29 *******************************************************************************/ 30 int heapInit(unsigned); 31 void * malloc(unsigned); 32 void * realloc(void *, unsigned); 33 void free(void *); 34 unsigned _memfree(void); 35 unsigned _msize(void *); 36 int _validptr(void *); 37 int _validptr2(void *, unsigned); 38 int _heap_check(void); 39 40 extern unsigned _uHeapMinPtr;/* heap pointers are greater or equal to this.*/ 41 extern unsigned _uHeapMaxPtr;/* heap pointers are less than this. */ 30 int heapInit(unsigned, unsigned, unsigned, unsigned); 31 void * malloc(unsigned); 32 void * realloc(void *, unsigned); 33 void free(void *); 34 unsigned _memfree(void); 35 unsigned _msize(void *); 36 int _validptr(void *); 37 int _validptr2(void *, unsigned); 38 int _heap_check(void); 42 39 43 40 … … 45 42 * Defined Constants And Macros * 46 43 *******************************************************************************/ 47 #define MINPTR _uHeapMinPtr48 #define MAXPTR _uHeapMaxPtr49 50 44 /* HeapPointer assert - old ones... */ 51 45 #define ltasserthp(a) if (!_validptr((void*)(a))){ _ltasserthp((void*)(a), #a,__FILE__,__LINE__); return FALSE;}
Note:
See TracChangeset
for help on using the changeset viewer.