mark function as pub crate so it's not used outside agb

This commit is contained in:
Corwin 2022-07-30 16:52:41 +01:00
parent 002ccc64dd
commit 433fad15a1

View file

@ -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()
}