aboutsummaryrefslogtreecommitdiff
path: root/src_c/pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src_c/pool.h')
-rw-r--r--src_c/pool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src_c/pool.h b/src_c/pool.h
index 6998df6..e6ac0b2 100644
--- a/src_c/pool.h
+++ b/src_c/pool.h
@@ -2,6 +2,7 @@
#define OPCUT_POOL_H
#include <stddef.h>
+#include <hat/allocator.h>
#ifdef __cplusplus
extern "C" {
@@ -9,7 +10,7 @@ extern "C" {
typedef struct opcut_pool_t opcut_pool_t;
-opcut_pool_t *opcut_pool_create(size_t item_size);
+opcut_pool_t *opcut_pool_create(hat_allocator_t *a, size_t item_size);
void opcut_pool_destroy(opcut_pool_t *pool);
void *opcut_pool_alloc(opcut_pool_t *pool);
void opcut_pool_free(opcut_pool_t *pool, void *item);