pub trait Api {
// Provided methods
fn add_function(
&self
) -> unsafe extern "C" fn(_: Option<unsafe extern "C" fn(_: *mut *mut c_void) -> i32>, _: *const i8, _: *mut *const i8) -> i32 { ... }
fn get_arg_string(&self) -> unsafe extern "C" fn(_: i32) -> *const i8 { ... }
}