newlib/winsup/cygwin/heap.h
Christopher Faylor bc837d22f3 Throughout, update copyrights to reflect dates which correspond to main-branch
checkins.  Regularize copyright format.
2013-01-21 04:38:31 +00:00

21 lines
521 B
C

/* heap.h: Cygwin heap manager definitions.
Copyright 2000, 2001, 2002 Red Hat, Inc.
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 ();
void malloc_init ();
#define inheap(s) \
(cygheap->user_heap.ptr && s \
&& ((char *) (s) >= (char *) cygheap->user_heap.base) \
&& ((char *) (s) <= (char *) cygheap->user_heap.top))