diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2022-01-02 16:25:36 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2022-01-02 16:25:36 +0100 |
| commit | 90600e3f0761dcd2858a591c68c62c2fd259a381 (patch) | |
| tree | cdea63b8ee351a51c98df994563835b246170181 /src_c/common.h | |
| parent | 746249269e78e0b2043b24c5d0ee061d03ce3db5 (diff) | |
WIP c implementation
Diffstat (limited to 'src_c/common.h')
| -rw-r--r-- | src_c/common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src_c/common.h b/src_c/common.h index 3464a61..22e6a88 100644 --- a/src_c/common.h +++ b/src_c/common.h @@ -3,6 +3,7 @@ #include <stdbool.h> #include <stdio.h> +#include <hat/allocator.h> #include "pool.h" #define OPCUT_SUCCESS 0 @@ -86,8 +87,9 @@ typedef struct { } opcut_result_t; -int opcut_params_init(opcut_params_t *params, opcut_pool_t *panel_pool, - opcut_pool_t *item_pool, opcut_str_t *json); +int opcut_params_init(hat_allocator_t *a, opcut_params_t *params, + opcut_pool_t *panel_pool, opcut_pool_t *item_pool, + opcut_str_t *json); int opcut_result_write(opcut_result_t *result, FILE *stream); #ifdef __cplusplus |
