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

Split a -sys crate out #68

Merged
merged 19 commits into from Oct 15, 2015
Prev

Fix new ctype lint in 1.3

  • Loading branch information
sfackler committed Sep 20, 2015
commit db4499d7b40c1c216e3fa3b71f3aef8ee3f47d4e
@@ -34,7 +34,7 @@ pub struct CFArrayCallBacks {
}

#[repr(C)]
struct __CFArray;
struct __CFArray(c_void);

pub type CFArrayRef = *const __CFArray;

@@ -13,7 +13,7 @@ use base::CFTypeID;
use string::CFStringRef;

#[repr(C)]
struct __CFBundle;
struct __CFBundle(c_void);

pub type CFBundleRef = *const __CFBundle;

@@ -1,7 +1,9 @@
use libc::c_void;

use base::{CFAllocatorRef, CFTypeID, CFIndex};

#[repr(C)]
struct __CFData;
struct __CFData(c_void);

pub type CFDataRef = *const __CFData;

@@ -42,7 +42,7 @@ pub struct CFDictionaryValueCallBacks {
}

#[repr(C)]
struct __CFDictionary;
struct __CFDictionary(c_void);

pub type CFDictionaryRef = *const __CFDictionary;

@@ -12,7 +12,7 @@ use libc::c_void;
use base::{CFAllocatorRef, CFTypeID};

#[repr(C)]
struct __CFBoolean;
struct __CFBoolean(c_void);

pub type CFBooleanRef = *const __CFBoolean;

@@ -15,17 +15,17 @@ use date::{CFAbsoluteTime, CFTimeInterval};
use string::CFStringRef;

#[repr(C)]
struct __CFRunLoop;
struct __CFRunLoop(c_void);

pub type CFRunLoopRef = *const __CFRunLoop;

#[repr(C)]
struct __CFRunLoopSource;
struct __CFRunLoopSource(c_void);

pub type CFRunLoopSourceRef = *const __CFRunLoopSource;

#[repr(C)]
struct __CFRunLoopObserver;
struct __CFRunLoopObserver(c_void);

pub type CFRunLoopObserverRef = *const __CFRunLoopObserver;

@@ -29,7 +29,7 @@ pub struct CFSetCallBacks {
}

#[repr(C)]
struct __CFSet;
struct __CFSet(c_void);

pub type CFSetRef = *const __CFSet;

@@ -7,7 +7,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use libc::{c_char, c_ushort};
use libc::{c_char, c_ushort, c_void};

use base::{Boolean, CFOptionFlags, CFIndex, CFAllocatorRef, CFRange, CFTypeID};

@@ -188,7 +188,7 @@ pub type CFStringEncodings = CFIndex;
//static kCFStringEncodingShiftJIS_X0213_00: CFStringEncoding = 0x0628; /* Deprecated */

#[repr(C)]
struct __CFString;
struct __CFString(c_void);

pub type CFStringRef = *const __CFString;

@@ -6,12 +6,13 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use libc::c_void;

use base::{CFOptionFlags, CFIndex, CFAllocatorRef, Boolean, CFTypeID};
use string::CFStringRef;

#[repr(C)]
struct __CFURL;
struct __CFURL(c_void);

pub type CFURLRef = *const __CFURL;

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