diff options
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 |
