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:
@@ -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
@@ -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
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user