Barracuda Application Server C/C++ Reference
Native APIs, integration guides, and platform interfaces
dlmalloc.h
1
#ifndef __dlmalloc_h
2
#define __dlmalloc_h
3
#include <stddef.h>
4
void
dlmalloc_setExhaustedCB(
void
(*cb)(
void
));
5
void
init_dlmalloc(
char
* heapstart,
char
* heapend);
6
void
* dlmalloc(
size_t
bytes);
7
void
* dlrealloc(
void
* oldmem,
size_t
bytes);
8
void
dlfree(
void
* mem);
9
10
11
#ifdef USE_DLMALLOC
12
#define baMalloc(size) dlmalloc(size)
13
#define baRealloc(ptr, size) dlrealloc(ptr, size)
14
#define baFree(ptr) dlfree(ptr)
15
#endif
16
17
#endif
inc
dlmalloc.h
Barracuda Application Server
documentation generated on Sun Sep 20 2026 07:32:41