mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-18 15:27:48 +01:00
c8969630f3
Introduced a real Property List Editor. Fixed Theme manager engine. Other minor fixes
14 lines
418 B
C
14 lines
418 B
C
#ifndef MEMPOOL_H
|
|
#define MEMPOOL_H
|
|
|
|
#include <stddef.h>
|
|
|
|
struct mempool;
|
|
typedef struct mempool *mempoolptr;
|
|
|
|
LIQ_PRIVATE void* mempool_create(mempoolptr *mptr, const unsigned int size, unsigned int capacity, void* (*malloc)(size_t), void (*free)(void*));
|
|
LIQ_PRIVATE void* mempool_alloc(mempoolptr *mptr, const unsigned int size, const unsigned int capacity);
|
|
LIQ_PRIVATE void mempool_destroy(mempoolptr m);
|
|
|
|
#endif
|