From 7b3d2870c77e8563d78ed6b1901d372aa5a1c46b Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Fri, 19 Jan 2024 14:51:37 -0600 Subject: [PATCH] update ffi with release_buffer --- circomcompatffi.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/circomcompatffi.nim b/circomcompatffi.nim index a4dd435..c09bc26 100644 --- a/circomcompatffi.nim +++ b/circomcompatffi.nim @@ -36,6 +36,8 @@ proc init_circom_compat*(r1cs_path: pointer, proc release_circom_compat*(ctx_ptr: ptr ptr CircomCompatCtx): void {.importc: "release_circom_compat".} +proc release_buffer*(buff_ptr: ptr ptr Buffer): void {.importc: "release_buffer".} + ## # Safety # proc push_input_u256_array*(ctx_ptr: ptr CircomCompatCtx,