Type Definition tvm_sys::ffi::TVMExtensionFuncDeclarer[][src]

pub type TVMExtensionFuncDeclarer = Option<unsafe extern "C" fn(register_func_handle: TVMFunctionHandle) -> c_int>;
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