mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Merge pull request #87 from jcmoyer/flags-mod
Remove unnecessary 'mod flags' declarations
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
mod flags;
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
pub mod ll {
|
||||
use libc::{c_int, c_char, c_void, int32_t, int16_t, int8_t, uint8_t};
|
||||
|
||||
@@ -9,8 +9,6 @@ use rect::Rect;
|
||||
use scancode::ScanCode;
|
||||
use video::Window;
|
||||
|
||||
mod flags;
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
pub mod ll {
|
||||
use libc::{c_int, c_char, c_uint, int32_t, uint8_t, uint16_t,
|
||||
|
||||
+1
-1
@@ -16,6 +16,7 @@ pub mod keycode;
|
||||
#[path = "generated/scancode.rs"]
|
||||
pub mod scancode;
|
||||
|
||||
pub mod flags;
|
||||
pub mod event;
|
||||
pub mod gesture;
|
||||
pub mod touch;
|
||||
@@ -33,4 +34,3 @@ pub mod rwops;
|
||||
pub mod sdl;
|
||||
pub mod audio;
|
||||
pub mod version;
|
||||
pub mod flags;
|
||||
@@ -4,8 +4,6 @@ use get_error;
|
||||
use surface;
|
||||
use video;
|
||||
|
||||
mod flags;
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
pub mod ll {
|
||||
use libc::{c_int, c_uint, c_void, uint8_t, uint32_t};
|
||||
|
||||
@@ -13,8 +13,6 @@ use std::num::FromPrimitive;
|
||||
use std::vec::Vec;
|
||||
use std::c_vec::CVec;
|
||||
|
||||
mod flags;
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
pub mod ll {
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
use std::cast;
|
||||
use std::str;
|
||||
|
||||
mod flags;
|
||||
|
||||
// Setup linking for all targets.
|
||||
#[cfg(target_os="macos")]
|
||||
mod mac {
|
||||
|
||||
@@ -6,8 +6,6 @@ use libc::c_int;
|
||||
use pixels;
|
||||
use rwops;
|
||||
|
||||
mod flags;
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
pub mod ll {
|
||||
use pixels::ll::SDL_PixelFormat;
|
||||
|
||||
@@ -11,8 +11,6 @@ use std::num::FromPrimitive;
|
||||
|
||||
use get_error;
|
||||
|
||||
mod flags;
|
||||
|
||||
#[allow(non_camel_case_types)]
|
||||
pub mod ll {
|
||||
use rect::Rect;
|
||||
|
||||
Reference in New Issue
Block a user