Kstars

src/memalloc.h
1/*
2** Author: Eric Veach, July 1994.
3**
4*/
5
6#ifndef __memalloc_simple_h_
7#define __memalloc_simple_h_
8
9#include <stdlib.h>
10
11#define memRealloc realloc
12#define memFree free
13
14#define memInit __gl_memInit
15/*extern void __gl_memInit( size_t );*/
16extern int __gl_memInit(size_t);
17
18#ifndef MEMORY_DEBUG
19#define memAlloc malloc
20#else
21#define memAlloc __gl_memAlloc
22extern void *__gl_memAlloc(size_t);
23#endif
24
25#endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.