Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit b0132d3

Browse files
committed
Upgrade to newer core-foundation and bump version
1 parent dde7fed commit b0132d3

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "io-surface"
33
description = "Bindings to IO Surface for OS X"
44
homepage = "https://github.com/servo/io-surface-rs"
55
repository = "https://github.com/servo/io-surface-rs"
6-
version = "0.8.0"
6+
version = "0.9.0"
77
authors = ["The Servo Project Developers"]
88
license = "MIT / Apache-2.0"
99

@@ -12,6 +12,6 @@ libc = "0.2"
1212
gleam = "0.4"
1313

1414
[target.x86_64-apple-darwin.dependencies]
15-
core-foundation = "0.4"
15+
core-foundation = "0.5"
1616
cgl = "0.2.1"
1717
leaky-cow = "0.1.1"

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ impl Clone for IOSurface {
6363
}
6464
}
6565

66-
impl TCFType<IOSurfaceRef> for IOSurface {
66+
impl TCFType for IOSurface {
67+
type Ref = IOSurfaceRef;
68+
6769
#[inline]
6870
fn as_concrete_TypeRef(&self) -> IOSurfaceRef {
6971
self.obj

0 commit comments

Comments
 (0)