diff --git a/cg.rs b/cg.rs deleted file mode 100644 index 2495b60..0000000 --- a/cg.rs +++ /dev/null @@ -1,20 +0,0 @@ -// FIXME: Should be bindgenned - -use libc::{c_void, c_char, size_t}; - -#[nolink] -pub extern mod cg { - 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); -} - -pub type CGFontRef = *c_void; -pub type CGDataProviderRef = *c_void; -pub type CGDataProviderReleaseDataCallback = *c_void; diff --git a/cocoa.rc b/cocoa.rc index 072e5f1..7ddf26f 100644 --- a/cocoa.rc +++ b/cocoa.rc @@ -12,4 +12,4 @@ extern mod std; pub mod appkit; pub mod base; pub mod foundation; -pub mod cg; +