mirror of
https://github.com/codex-storage/circom-compat-ffi.git
synced 2025-01-09 10:22:15 +00:00
export release_buffer
This commit is contained in:
parent
451a0fde90
commit
e59ea184fa
@ -149,6 +149,7 @@ pub unsafe extern "C" fn release_circom_compat(ctx_ptr: &mut *mut CircomCompatCt
|
||||
}
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn release_buffer(buff_ptr: &mut *mut Buffer) {
|
||||
if !buff_ptr.is_null() {
|
||||
let buff = &mut Box::from_raw(*buff_ptr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user