Function tvm_rt::function::ffi::TVMBackendRegisterSystemLibSymbol[][src]

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

\brief Backend function to register system-wide library symbol.

\param name The name of the symbol \param ptr The symbol address. \return 0 when no error is thrown, -1 when failure happens