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

#[link(name = "ctru")]
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;
}