Browse Source

moved system libs to sys folder

pull/10/head
Fenrir 9 years ago
parent
commit
b76009d0d5
  1. 14
      ctru-sys/src/lib.rs
  2. 0
      ctru-sys/src/sys/libc.rs
  3. 2
      ctru-sys/src/sys/lock.rs
  4. 2
      ctru-sys/src/sys/mod.rs

14
ctru-sys/src/lib.rs

@ -4,27 +4,25 @@ @@ -4,27 +4,25 @@
*/
#![no_std]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(overflowing_literals)]
#![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 lock;
pub mod libc;
pub mod os;
pub mod sdmc;
pub mod srv;
pub mod services;
pub mod svc;
pub mod srv;
pub mod sys;
pub mod synchronization;
pub mod thread;
pub mod types;
pub mod services;
pub use self::sys::*;
pub use self::types::*;
pub type Result = i32;

0
ctru-sys/src/libc.rs → ctru-sys/src/sys/libc.rs

2
ctru-sys/src/lock.rs → ctru-sys/src/sys/lock.rs

@ -1,7 +1,5 @@ @@ -1,7 +1,5 @@
//<sys/lock.h> from devkitArm, needed for synchronization.rs to compile
//TODO: I don't even know this thing looks really spooky
pub type _LOCK_T = i32;
#[repr(C)]
#[derive(Copy)]

2
ctru-sys/src/sys/mod.rs

@ -0,0 +1,2 @@ @@ -0,0 +1,2 @@
pub mod lock;
pub mod libc;
Loading…
Cancel
Save