Rust wrapper for libctru
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
598 B

/*
* C bindings generation:
* bindgen --sysroot=$DEVKITARM/arm-none-eabi -I$CTRULIB/include $CTRULIB/include/3ds.h
*/
#![no_std]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(overflowing_literals)]
pub mod console;
pub mod env;
pub mod gfx;
pub mod gpu;
pub mod ipc;
pub mod lock;
pub mod libc;
pub mod os;
pub mod sdmc;
pub mod srv;
pub mod svc;
pub mod synchronization;
pub mod thread;
pub mod types;
pub mod services;
pub use self::types::*;
pub type Result = i32;
pub type Handle = u32;
pub type ThreadFunc = Option<extern "C" fn(arg1: *mut libc::c_void) -> ()>;