Function tvm::runtime::function::ffi::TVMObjectGetTypeIndex[][src]

pub unsafe extern "C" fn TVMObjectGetTypeIndex(
    obj: *mut c_void,
    out_tindex: *mut u32
) -> i32
Expand description

\brief Get the type_index from an object.

\param obj The object handle. \param out_tindex the output type index. \return 0 when success, nonzero when failure happens