Ignore:
Timestamp:
Jan 24, 2000, 7:19:01 PM (26 years ago)
Author:
bird
Message:

Heapchanges: Heap is splitted into a swappable and a resident. The heaps
are dynamically growable.

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:32 bird Exp $
     1/* $Id: malloc.h,v 1.6 2000-01-24 18:18:59 bird Exp $
    22 *
    33 * Heap.
     
    2828*   Exported Functions and Variables                                           *
    2929*******************************************************************************/
    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. */
     30int         heapInit(unsigned, unsigned, unsigned, unsigned);
     31void *      malloc(unsigned);
     32void *      realloc(void *, unsigned);
     33void        free(void *);
     34unsigned    _memfree(void);
     35unsigned    _msize(void *);
     36int         _validptr(void *);
     37int         _validptr2(void *, unsigned);
     38int         _heap_check(void);
    4239
    4340
     
    4542*   Defined Constants And Macros                                               *
    4643*******************************************************************************/
    47 #define MINPTR _uHeapMinPtr
    48 #define MAXPTR _uHeapMaxPtr
    49 
    5044/* HeapPointer assert - old ones... */
    5145#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.