mirror of
https://github.com/italicsjenga/gba.git
synced 2024-12-24 03:11:29 +11:00
docs.
This commit is contained in:
parent
382c7938a3
commit
3a882fed29
|
@ -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};
|
||||||
|
|
Loading…
Reference in a new issue