Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to current rust #30

Merged
merged 3 commits into from Apr 10, 2014
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Update to current rust: libc is in its own crate.

  • Loading branch information
Ms2ger committed Apr 10, 2014
commit 3d3e6bafa19f193ae24332f0e5cebaf979cc1e9b
2 ffi.rs
@@ -9,7 +9,7 @@

#![allow(non_camel_case_types)]

use std::libc::{c_int, size_t, c_void, c_char};
use libc::{c_int, size_t, c_void, c_char};

pub static TRANSFORM_IDENTITY: c_int = 0;

4 lib.rs
@@ -12,13 +12,15 @@
#![crate_type = "dylib"]
#![crate_type = "rlib"]

extern crate libc;
extern crate std;

use libc::{c_int, size_t};
use std::cast;
use std::io;
use std::io::File;
use std::ptr;
use std::slice;
use std::libc::{c_int, size_t};

pub mod ffi;

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.