OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
mempool.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
// mempool.h
3
//
4
// Header for mempool.c
5
//
6
// The type alloc_handle_t provides an opaque reference to the
7
// alloc pool - only the alloc routines know its structure.
8
//-----------------------------------------------------------------------------
9
10
#ifndef MEMPOOL_H
11
#define MEMPOOL_H
12
13
14
typedef
struct
15
{
16
long
dummy
;
17
}
alloc_handle_t
;
18
19
alloc_handle_t
*
AllocInit
(
void
);
20
char
*
Alloc
(
long
);
21
alloc_handle_t
*
AllocSetPool
(
alloc_handle_t
*);
22
void
AllocReset
(
void
);
23
void
AllocFreePool
(
void
);
24
25
26
#endif
//MEMPOOL_H
AllocReset
void AllocReset(void)
Definition
mempool.c:176
Alloc
char * Alloc(long)
Definition
mempool.c:111
AllocInit
alloc_handle_t * AllocInit(void)
Definition
mempool.c:91
AllocFreePool
void AllocFreePool(void)
Definition
mempool.c:190
AllocSetPool
alloc_handle_t * AllocSetPool(alloc_handle_t *)
Definition
mempool.c:161
alloc_handle_t
Definition
mempool.h:15
alloc_handle_t::dummy
long dummy
Definition
mempool.h:16
src
legacy
engine
mempool.h
Generated by
1.9.8