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