This commit is contained in:
Lokathor 2022-10-08 00:09:07 -06:00
parent 382c7938a3
commit 3a882fed29

View file

@ -19,10 +19,9 @@
//! //!
//! ## Safety //! ## Safety
//! //!
//! While it's safe to use this crate's data type definitions anywhere (they're //! The MMIO declarations and wrapper types in this module **must not** be used
//! just wrappers for ints), the MMIO declarations in this module **must not** //! outside of a GBA. The read and write safety of each address are declared
//! be used outside of a GBA. The read and write safety of each address are //! assuming that code is running on a GBA. On any other platform, the
//! declared assuming that code is running on a GBA. On any other platform, the
//! declarations are simply incorrect. //! declarations are simply incorrect.
use core::{ffi::c_void, mem::size_of}; use core::{ffi::c_void, mem::size_of};