diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-10-11 11:06:21 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-10-11 11:06:21 +0200 |
commit | bfbc46251196b58c31ce3b633597208d8132f953 (patch) | |
tree | 0a2465b0bf34307bd93d10e42db91727916f1ec2 | |
parent | 28ecf3bc5b463e7e1b1859746f178c2990dfb263 (diff) | |
download | glutin-bfbc46251196b58c31ce3b633597208d8132f953.tar.gz glutin-bfbc46251196b58c31ce3b633597208d8132f953.zip |
Change implementations import system
-rw-r--r-- | src/lib.rs | 21 |
1 files changed, 8 insertions, 13 deletions
@@ -43,22 +43,17 @@ pub use events::*; use std::default::Default; #[cfg(target_os = "windows")] -use win32 as winimpl; +#[path="win32/mod.rs"] +mod winimpl; #[cfg(target_os = "linux")] -use x11 as winimpl; +#[path="x11/mod.rs"] +mod winimpl; #[cfg(target_os = "macos")] -use osx as winimpl; +#[path="osx/mod.rs"] +mod winimpl; #[cfg(target_os = "android")] -use android as winimpl; - -#[cfg(target_os = "windows")] -mod win32; -#[cfg(target_os = "linux")] -mod x11; -#[cfg(target_os = "macos")] -mod osx; -#[cfg(target_os = "android")] -mod android; +#[path="android/mod.rs"] +mod winimpl; mod events; |