mirror of
https://github.com/UberGames/rpgxEF.git
synced 2025-02-24 04:51:12 +00:00
22 lines
373 B
C
22 lines
373 B
C
|
#ifndef MEMORYPOOL_H_
|
||
|
#define MEMORYPOOL_H_
|
||
|
|
||
|
#include "g_local.h"
|
||
|
#include "list.h"
|
||
|
|
||
|
typedef struct mempool_s mempool_t;
|
||
|
typedef struct mempool_t * mempool_p;
|
||
|
|
||
|
struct mempool_s {
|
||
|
list_p memory;
|
||
|
};
|
||
|
|
||
|
typedef struct mempool_object_s mempool_object_t;
|
||
|
typedef struct mempool_object_t * mempool_object_p;
|
||
|
struct mempool_object_s {
|
||
|
void* mem_ptr;
|
||
|
uint32_t mem_cnt;
|
||
|
};
|
||
|
|
||
|
#endif
|