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