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