De-export more

This commit is contained in:
Patrick Walton
2012-09-27 10:21:52 -07:00
parent c68809f9e9
commit 15ff4a2fb4
2 changed files with 16 additions and 16 deletions
+12 -12
View File
@@ -4,17 +4,17 @@ use libc::{c_void, c_char, size_t};
#[nolink]
extern mod cg {
fn CGDataProviderCreateWithFilename(filename: *c_char) -> CGDataProviderRef;
fn CGDataProviderCreateWithData(info: *c_void,
data: *c_void,
size: size_t,
releaseData: CGDataProviderReleaseDataCallback
) -> CGDataProviderRef;
fn CGDataProviderRelease(provider: CGDataProviderRef);
fn CGFontCreateWithDataProvider(provider: CGDataProviderRef) -> CGFontRef;
fn CGFontRelease(font: CGFontRef);
pub fn CGDataProviderCreateWithFilename(filename: *c_char) -> CGDataProviderRef;
pub fn CGDataProviderCreateWithData(info: *c_void,
data: *c_void,
size: size_t,
releaseData: CGDataProviderReleaseDataCallback
) -> CGDataProviderRef;
pub fn CGDataProviderRelease(provider: CGDataProviderRef);
pub fn CGFontCreateWithDataProvider(provider: CGDataProviderRef) -> CGFontRef;
pub fn CGFontRelease(font: CGFontRef);
}
type CGFontRef = *c_void;
type CGDataProviderRef = *c_void;
type CGDataProviderReleaseDataCallback = *c_void;
pub type CGFontRef = *c_void;
pub type CGDataProviderRef = *c_void;
pub type CGDataProviderReleaseDataCallback = *c_void;
+4 -4
View File
@@ -9,7 +9,7 @@
extern mod std;
mod appkit;
mod base;
mod foundation;
mod cg;
pub mod appkit;
pub mod base;
pub mod foundation;
pub mod cg;