diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2022-06-27 01:13:26 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2022-06-27 01:13:26 +0200 |
| commit | 8d1d7b7b4a48187f5849548bbc6bb543d6de33ba (patch) | |
| tree | 557eff5ff465d1ff096abbcca0005dca08ca959c /src_c/pool.h | |
| parent | 75cc60fd42c58cadc28f5eb4499f197604254aba (diff) | |
WIP native implementation
Diffstat (limited to 'src_c/pool.h')
| -rw-r--r-- | src_c/pool.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src_c/pool.h b/src_c/pool.h deleted file mode 100644 index e6ac0b2..0000000 --- a/src_c/pool.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef OPCUT_POOL_H -#define OPCUT_POOL_H - -#include <stddef.h> -#include <hat/allocator.h> - -#ifdef __cplusplus -extern "C" { -#endif - -typedef struct opcut_pool_t opcut_pool_t; - -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); - -#ifdef __cplusplus -} -#endif - -#endif |
