Welcome to mirror list, hosted at ThFree Co, Russian Federation.

heap.h « cygwin « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 25200f286f8ab77d79017799a4c055078e9a9b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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))