pub trait Api {
// Provided methods
fn add_function(
&self,
) -> unsafe extern "C" fn(f: lua_CFunction, name: *const c_char, outErr: *mut *const c_char) -> c_int { ... }
fn get_arg_string(
&self,
) -> unsafe extern "C" fn(pos: c_int) -> *const c_char { ... }
}