OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
mempool.c File Reference
#include <stdlib.h>
#include "mempool.h"
Include dependency graph for mempool.c:

Classes

struct  alloc_hdr_s
 
struct  alloc_root_s
 

Macros

#define ALLOC_BLOCK_SIZE   64000 /*(62*1024)*/
 

Typedefs

typedef struct alloc_hdr_s alloc_hdr_t
 
typedef struct alloc_root_s alloc_root_t
 

Functions

alloc_handle_tAllocInit ()
 
char * Alloc (long size)
 
alloc_handle_tAllocSetPool (alloc_handle_t *newpool)
 
void AllocReset ()
 
void AllocFreePool ()
 

Macro Definition Documentation

◆ ALLOC_BLOCK_SIZE

#define ALLOC_BLOCK_SIZE   64000 /*(62*1024)*/

Typedef Documentation

◆ alloc_hdr_t

typedef struct alloc_hdr_s alloc_hdr_t

◆ alloc_root_t

typedef struct alloc_root_s alloc_root_t

Function Documentation

◆ Alloc()

char * Alloc ( long  size)
Here is the caller graph for this function:

◆ AllocFreePool()

void AllocFreePool ( void  )

◆ AllocInit()

alloc_handle_t * AllocInit ( void  )

◆ AllocReset()

void AllocReset ( void  )

◆ AllocSetPool()

alloc_handle_t * AllocSetPool ( alloc_handle_t newpool)