Merge pull request #11 from SimonSapin/rust-upgrade

Upgrade to rustc 0.8-pre (0ac3e02 2013-08-30 05:45:45 -0700)
This commit is contained in:
Jack Moffitt
2013-09-03 13:16:40 -07:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ impl AbstractCFTypeRef for CTFontRef {
fn as_type_ref(&self) -> CFTypeRef { *self as CFTypeRef }
#[fixed_stack_segment]
fn type_id() -> CFTypeID {
fn type_id(_dummy: Option<CTFontRef>) -> CFTypeID {
unsafe {
CTFontGetTypeID()
}
+1 -1
View File
@@ -27,7 +27,7 @@ impl AbstractCFTypeRef for CTFontCollectionRef {
fn as_type_ref(&self) -> CFTypeRef { *self as CFTypeRef }
#[fixed_stack_segment]
fn type_id() -> CFTypeID {
fn type_id(_dummy: Option<CTFontCollectionRef>) -> CFTypeID {
unsafe {
CTFontCollectionGetTypeID()
}
+1 -1
View File
@@ -188,7 +188,7 @@ impl AbstractCFTypeRef for CTFontDescriptorRef {
fn as_type_ref(&self) -> CFTypeRef { *self as CFTypeRef }
#[fixed_stack_segment]
fn type_id() -> CFTypeID {
fn type_id(_dummy: Option<CTFontDescriptorRef>) -> CFTypeID {
unsafe {
CTFontDescriptorGetTypeID()
}