Function tvm::function::ffi::TVMModGetFunction [−][src]
pub unsafe extern "C" fn TVMModGetFunction(
mod_: *mut c_void,
func_name: *const i8,
query_imports: i32,
out: *mut *mut c_void
) -> i32
Expand description
\brief Get function from the module. \param mod The module handle. \param func_name The name of the function. \param query_imports Whether to query imported modules \param out The result function, can be NULL if it is not available. \return 0 when no error is thrown, nonzero when failure happens