From 90600e3f0761dcd2858a591c68c62c2fd259a381 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Sun, 2 Jan 2022 16:25:36 +0100 Subject: WIP c implementation --- src_c/common.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src_c/common.h') 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 #include +#include #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 -- cgit v1.2.3-70-g09d2