rpgxef/code/game/memorypool.h
Walter Julius Hennecke 9a69a10d68 Fixed a bug
Fixed a bug where use of /drop while beeing dead resultet in a crash.
2013-08-01 20:43:39 +02:00

21 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