I would want to call g1_get_zero , and don't know the proper type to use here
#[repr(C)] #[derive(Debug)] pub struct ArrayStruct { d: *mut T, len: usize }
#[no_mangle] pub extern "C" fn g1_get_zero(g: ArrayStruct) -> bool { return panic::catch_unwind(|| {
g1_to_raw(G1Affine::zero(), g);
}).is_ok(); }
I would want to call g1_get_zero , and don't know the proper type to use here
#[repr(C)] #[derive(Debug)] pub struct ArrayStruct { d: *mut T, len: usize }
#[no_mangle] pub extern "C" fn g1_get_zero(g: ArrayStruct) -> bool { return panic::catch_unwind(|| {
g1_to_raw(G1Affine::zero(), g);
}).is_ok(); }