Update for language changes
This commit is contained in:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user