Projet_SETI_RISC-V/riscv-gnu-toolchain/newlib/winsup/cygwin/heap.h
2023-03-06 14:48:14 +01:00

18 lines
476 B
C

/* 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 ();
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))