aboutsummaryrefslogtreecommitdiff
path: root/ctru-sys/src/vram.rs
blob: 2de9e2fc392de57f69016b1a5107fff9dc956c2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
use super::types::*;


extern "C" {
    pub fn vramAlloc(size: isize) -> *mut c_void;
    pub fn vramMemAlign(size: isize, alignment: isize) -> *mut c_void;
    pub fn vramRealloc(mem: *mut isize, size: isize) -> *mut c_void;
    pub fn vramFree(mem: *mut c_void) -> ();
    pub fn vramSpaceFree() -> u32;
}