Remove CG from rust-cocoa. It's now in rust-core-graphics.

This commit is contained in:
Brian J. Burg
2012-10-19 13:28:17 -07:00
parent 7dff0d5d6d
commit 0503ea12c3
2 changed files with 1 additions and 21 deletions
-20
View File
@@ -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;
+1 -1
View File
@@ -12,4 +12,4 @@ extern mod std;
pub mod appkit;
pub mod base;
pub mod foundation;
pub mod cg;