aboutsummaryrefslogtreecommitdiff
path: root/ctru-sys/src/env.rs
blob: 2de21e480bb1129ca5e95cb33c11d01fa6e43d55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//TODO: There are a bunch of static inline functions that bindgen didn't pick up and idk how they work

use ::Handle;

#[derive(Clone, Copy)]
#[repr(C)]
pub enum Enum_Unnamed1 {
    RUNFLAG_APTWORKAROUND = 1,
    RUNFLAG_APTREINIT = 2,
}

extern "C" {
    pub fn envGetHandle(name: *const u8) -> Handle;
}