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