Merge pull request #258 from eagleflo/primitive-imports

Primitive imports
This commit is contained in:
Tony Aldridge
2015-01-05 09:26:45 +00:00
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -5,6 +5,7 @@ use std::mem;
use std::c_str::CString;
use std::c_vec::CVec;
use std::borrow::ToOwned;
use std::num::FromPrimitive;
use libc;
use libc::{c_int, size_t, c_void};
use libc::{uint8_t};
+1
View File
@@ -1,4 +1,5 @@
use std::hash::{self, Hash};
use std::num::{FromPrimitive, ToPrimitive};
#[deriving(PartialEq, Eq, FromPrimitive, Show, Copy)]
pub enum KeyCode {
+1
View File
@@ -1,4 +1,5 @@
use std::hash::{self, Hash};
use std::num::{FromPrimitive, ToPrimitive};
#[deriving(PartialEq, Eq, FromPrimitive, Show, Copy)]
pub enum ScanCode {
+1
View File
@@ -4,6 +4,7 @@ use get_error;
use SdlResult;
use std::ptr;
use libc::{c_int, uint32_t};
use std::num::FromPrimitive;
use pixels;
use render::BlendMode;
use rwops;