aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/heap.h
blob: df652ac220b51c627007f80cd28e12e2f32691a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* heap.h: Cygwin heap manager definitions.

   Copyright 2000, 2001 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->heapptr && ((char *) (s) >= (char *) cygheap->heapbase) \
   && ((char *) (s) <= (char *) cygheap->heaptop))