pub unsafe fn window_pop_event( window: *mut Object, code: *mut u32, target: *mut c_void, ) -> Result<()>
This function is unsafe because it may dereference raw pointers.