Function tvm_sys::ffi::TVMObjectGetTypeIndex [−][src]
pub unsafe extern "C" fn TVMObjectGetTypeIndex(
obj: TVMObjectHandle,
out_tindex: *mut c_uint
) -> c_int
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