home *** CD-ROM | disk | FTP | other *** search
- /*------------------------------------------------------------------------
- * filename - _HEAP.H
- *
- *-----------------------------------------------------------------------*/
-
- /*[]------------------------------------------------------------[]*/
- /*| |*/
- /*| Turbo C Run Time Library - Version 3.0 |*/
- /*| |*/
- /*| |*/
- /*| Copyright (c) 1987, 1990 by Borland International |*/
- /*| All Rights Reserved. |*/
- /*| |*/
- /*[]------------------------------------------------------------[]*/
-
- #define MARGIN 512
-
- /* Near Heap Variables */
-
- extern unsigned __brklvl;
-
- /* Near Heap Functions */
-
- #ifndef _SIZE_T
- #define _SIZE_T
- typedef unsigned size_t;
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
- void *cdecl malloc(size_t __nbytes);
- void cdecl free(void *__ap);
- void *cdecl realloc(void *__ptr, size_t __size);
- #if defined(__LARGE__) || defined(__HUGE__) || defined(__COMPACT__)
- unsigned long cdecl coreleft(void);
- #else
- unsigned cdecl coreleft(void);
- #endif
- int cdecl near __brk(void *__addr);
- void *cdecl near __sbrk(long __incr);
- #ifdef __cplusplus
- }
- #endif
-