Update for language changes

This commit is contained in:
Brian Anderson
2013-06-25 19:47:08 -07:00
parent 3433fbda15
commit bf9d0ebf3e
3 changed files with 6 additions and 1 deletions
+2
View File
@@ -9,6 +9,8 @@
// this file defines CGFloat, as well as stubbed data types.
use std::libc;
// TODO: this is actually a libc::c_float on 32bit
pub type CGFloat = libc::c_double;
+3 -1
View File
@@ -9,7 +9,9 @@
use core_foundation::base::{AbstractCFTypeRef, CFTypeID, CFTypeRef, CFWrapper};
use core::libc::{c_void, c_char, size_t};
use std::cast;
use std::libc::{c_void, c_char, size_t};
use std::ptr;
pub type CGDataProviderGetBytesCallback = *u8;
pub type CGDataProviderReleaseInfoCallback = *u8;
+1
View File
@@ -10,6 +10,7 @@
use core_foundation::base::{AbstractCFTypeRef, CFTypeID, CFTypeRef, CFWrapper};
use data_provider::{CGDataProvider, CGDataProviderRef};
use std::libc;
pub type CGGlyph = libc::c_ushort;