blob: 784278e1ee1b9576407ec08db4c7233e4712c711 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef OPCUT_POOL_H
#define OPCUT_POOL_H
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct opcut_pool_t opcut_pool_t;
opcut_pool_t *opcut_pool_create(size_t item_size);
void opcut_pool_destroy(opcut_pool_t *pool);
void *opcut_pool_get(opcut_pool_t *pool);
void opcut_pool_return(opcut_pool_t *pool, void *item);
#ifdef __cplusplus
}
#endif
#endif
|