blob: b3cbfcbda464e9400eb2e01fa57c22397dfa9d3a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* C bindings generation:
* bindgen --match=file.h --use-core --ctypes-prefix=libc -- --sysroot=$DEVKITARM/arm-none-eabi -I$CTRULIB/include $CTRULIB/include/3ds.h
*
* bindgen --sysroot=$DEVKITARM/arm-none-eabi -I$CTRULIB/include $CTRULIB/include/3ds.h
*/
#![no_std]
#![feature(question_mark)]
#![allow(non_camel_case_types, non_snake_case, overflowing_literals)]
pub mod console;
pub mod env;
pub mod gfx;
pub mod gpu;
pub mod ipc;
pub mod os;
pub mod sdmc;
pub mod services;
pub mod svc;
pub mod srv;
pub mod sys;
pub mod synchronization;
pub mod thread;
pub mod types;
pub use self::sys::*;
pub use self::types::*;
pub type Result = i32;
pub type Handle = u32;
pub type ThreadFunc = Option<extern "C" fn(arg1: *mut libc::c_void) -> ()>;
|