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