mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
mark function as pub crate so it's not used outside agb
This commit is contained in:
parent
002ccc64dd
commit
433fad15a1
|
@ -54,7 +54,7 @@ static __IWRAM_ALLOC: BlockAllocator = unsafe {
|
|||
|
||||
#[cfg(any(test, feature = "testing"))]
|
||||
#[cfg(test)]
|
||||
pub unsafe fn number_of_blocks() -> u32 {
|
||||
pub(crate) unsafe fn number_of_blocks() -> u32 {
|
||||
GLOBAL_ALLOC.number_of_blocks()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue