Type Definition tvm::function::ffi::TVMExtensionFuncDeclarer[][src]

pub type TVMExtensionFuncDeclarer = Option<unsafe extern "C" fn(*mut c_void) -> i32>;
Expand description

\brief Signature for extension function declarer.

TVM call this function to get the extension functions The declarer will call register_func to register function and their name.

\param register_func_handle The register function \return 0 if success, -1 if failure happens