Update feature and unused attributes in sdl2-sys

This commit is contained in:
Alexander Campbell
2015-02-01 15:43:05 -06:00
parent 3a143843d4
commit e9eff0a5be
5 changed files with 8 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
#![feature(os)]
extern crate "pkg-config" as pkg_config;
fn main() {
+2
View File
@@ -1,5 +1,7 @@
#![allow(non_camel_case_types)]
#![feature(core, libc)]
extern crate libc;
pub mod scancode;
+2 -2
View File
@@ -6,7 +6,7 @@ use std::mem;
use libc::c_int;
/// A structure that defines a two dimensional point.
#[derive(PartialEq, Clone, Show, Copy)]
#[derive(PartialEq, Clone, Debug, Copy)]
#[repr(C)]
pub struct Point {
pub x: i32,
@@ -14,7 +14,7 @@ pub struct Point {
}
/// A structure that defines a rectangle, with the origin at the upper left.
#[derive(PartialEq, Clone, Show, Copy)]
#[derive(PartialEq, Clone, Debug, Copy)]
#[repr(C)]
pub struct Rect {
pub x: i32,
+1
View File
@@ -1 +1,2 @@
#[allow(unused)]
use sys::gesture as ll;
+1
View File
@@ -1,2 +1,3 @@
//! Haptic Functions
#[allow(unused)]
use sys::haptic as ll;