diff options
Diffstat (limited to 'winsup/cygwin/local_includes/heap.h')
-rw-r--r-- | winsup/cygwin/local_includes/heap.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/winsup/cygwin/local_includes/heap.h b/winsup/cygwin/local_includes/heap.h new file mode 100644 index 000000000..25200f286 --- /dev/null +++ b/winsup/cygwin/local_includes/heap.h @@ -0,0 +1,17 @@ +/* heap.h: Cygwin heap manager definitions. + +This file is part of Cygwin. + +This software is a copyrighted work licensed under the terms of the +Cygwin license. Please consult the file "CYGWIN_LICENSE" for +details. */ + +#include "perprocess.h" + +/* Heap management. */ +void heap_init (); + +#define inheap(s) \ + (cygheap->user_heap.ptr && s \ + && ((char *) (s) >= (char *) cygheap->user_heap.base) \ + && ((char *) (s) <= (char *) cygheap->user_heap.top)) |