Function tvm::function::ffi::TVMFuncGetGlobal[][src]

pub unsafe extern "C" fn TVMFuncGetGlobal(
    name: *const i8,
    out: *mut *mut c_void
) -> i32
Expand description

\brief Get a global function.

\param name The name of the function. \param out the result function pointer, NULL if it does not exist.

\note The function handle of global function is managed by TVM runtime, So TVMFuncFree is should not be called when it get deleted.