]>
Commit | Line | Data |
---|---|---|
b0e82b74 CF |
1 | /* heap.h: Cygwin heap manager definitions. |
2 | ||
bc837d22 | 3 | Copyright 2000, 2001, 2002 Red Hat, Inc. |
b0e82b74 CF |
4 | |
5 | This file is part of Cygwin. | |
6 | ||
7 | This software is a copyrighted work licensed under the terms of the | |
8 | Cygwin license. Please consult the file "CYGWIN_LICENSE" for | |
9 | details. */ | |
10 | ||
f0338f54 CF |
11 | #include "perprocess.h" |
12 | ||
b0e82b74 | 13 | /* Heap management. */ |
6a4878cf CF |
14 | void heap_init (); |
15 | void malloc_init (); | |
b0e82b74 | 16 | |
3800a9e7 | 17 | #define inheap(s) \ |
1cc651ec CF |
18 | (cygheap->user_heap.ptr && s \ |
19 | && ((char *) (s) >= (char *) cygheap->user_heap.base) \ | |
20 | && ((char *) (s) <= (char *) cygheap->user_heap.top)) |