Ignore:
Timestamp:
Jul 11, 2010, 7:06:19 AM (15 years ago)
Author:
David Azarewicz
Message:

malloc changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/include/malloc.h

    r32 r502  
    2525#define MALLOC_INCLUDED
    2626
     27#define  DEFAULT_HEAP   256*1024
     28#define  HEAP_SIZE      256*1024
     29
    2730// Standard malloc.h functions
    2831
     
    3033//      put in seperate private segments)
    3134#ifdef DEBUGHEAP
    32 void NEAR *malloc(unsigned size, const char *filename, int lineno);
     35void NEAR *malloc(ULONG size, const char *filename, int lineno);
    3336void       free(void *NEAR ptr, const char *filename, int lineno);
    3437void NEAR *realloc(void *NEAR ptr, unsigned newsize, const char *filename, int lineno);
    3538#else
    36 void NEAR *malloc(unsigned);
     39void NEAR *malloc(ULONG size);
    3740void       free(void NEAR *);
    3841void NEAR *realloc(void NEAR *, unsigned);
     
    4952
    5053// Specialized routines
    51 unsigned HeapInit(unsigned);        // initializes the heap manager
     54ULONG HeapInit(ULONG size);        // initializes the heap manager
    5255void dumpheap(void);
    5356
Note: See TracChangeset for help on using the changeset viewer.