pub unsafe fn object_get_parent(obj: *const Object) -> Result<*mut Object>
This function is unsafe because it may dereference raw pointers.