pub unsafe fn object_get_index_by_type( obj: *const Object, class_p: *const ObjectClass, ) -> Result<i32>
This function is unsafe because it may dereference raw pointers.