mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-23 10:51:30 +11:00
docs.
This commit is contained in:
parent
382c7938a3
commit
3a882fed29
|
@ -19,10 +19,9 @@
|
|||
//!
|
||||
//! ## Safety
|
||||
//!
|
||||
//! While it's safe to use this crate's data type definitions anywhere (they're
|
||||
//! just wrappers for ints), the MMIO declarations in this module **must not**
|
||||
//! be used outside of a GBA. The read and write safety of each address are
|
||||
//! declared assuming that code is running on a GBA. On any other platform, the
|
||||
//! The MMIO declarations and wrapper types in this module **must not** be used
|
||||
//! outside of a GBA. The read and write safety of each address are declared
|
||||
//! assuming that code is running on a GBA. On any other platform, the
|
||||
//! declarations are simply incorrect.
|
||||
|
||||
use core::{ffi::c_void, mem::size_of};
|
||||
|
|
Loading…
Reference in a new issue