FFI: new -> new_circuit

This commit is contained in:
Oskar Thoren 2022-01-21 15:58:37 +08:00
parent 9507cf9fb8
commit 721f3b8fa9
No known key found for this signature in database
GPG Key ID: B2ECCFD3BC2EF77E
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ impl<'a> From<&Buffer> for &'a [u8] {
}
#[no_mangle]
pub extern "C" fn new(ctx: *mut *mut Multiplier) -> bool {
pub extern "C" fn new_circuit(ctx: *mut *mut Multiplier) -> bool {
println!("multiplier ffi: new");
let mul = Multiplier::new();