ReactOS 0.4.15-dev-7677-g8209aa5
memalloc.h File Reference
#include <stdlib.h>
Include dependency graph for memalloc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define memRealloc   realloc
 
#define memFree   free
 
#define memInit   __gl_memInit
 
#define memAlloc   malloc
 

Functions

int __gl_memInit (size_t)
 

Macro Definition Documentation

◆ memAlloc

#define memAlloc   malloc

Definition at line 48 of file memalloc.h.

◆ memFree

#define memFree   free

Definition at line 41 of file memalloc.h.

◆ memInit

#define memInit   __gl_memInit

Definition at line 43 of file memalloc.h.

◆ memRealloc

#define memRealloc   realloc

Definition at line 40 of file memalloc.h.

Function Documentation

◆ __gl_memInit()

int __gl_memInit ( size_t  maxFast)

Definition at line 38 of file memalloc.c.

39{
40#ifndef NO_MALLOPT
41/* mallopt( M_MXFAST, maxFast );*/
42#ifdef MEMORY_DEBUG
43 mallopt( M_DEBUG, 1 );
44#endif
45#endif
46 return 1;
47}