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

pub unsafe extern "C" fn TVMObjectDerivedFrom(
    child_type_index: u32,
    parent_type_index: u32,
    is_derived: *mut i32
) -> i32
Expand description

\brief Check that an object is derived from another. \param child_type_index The type index of the derived type. \param parent_type_index The type index of the parent type. \param is_derived A boolean representing whether this predicate holds. \return 0 when success, nonzero when failure happens.