1 /* $Id: heap.h,v 1.2 1993/07/04 04:04:21 root Exp root $
4 * Copyright Robert J. Amstadt, 1993
9 typedef struct heap_mem_desc_s
11 struct heap_mem_desc_s *prev, *next;
12 unsigned short length;
17 extern void HEAP_Init(MDESC **free_list, void *start, int length);
18 extern void *HEAP_Alloc(MDESC **free_list, int flags, int bytes);
19 extern int HEAP_Free(MDESC **free_list, void *block);
20 extern void *HEAP_ReAlloc(MDESC **free_list, void *old_block,
21 int new_size, unsigned int flags);
23 extern void *GlobalQuickAlloc(int size);
24 extern unsigned int GlobalHandleFromPointer(void *block);