Update for CF bindings changes.

This commit is contained in:
Brian J. Burg
2012-11-02 18:42:20 -07:00
parent bc32ae3eea
commit 485ab293f6
+1 -5
View File
@@ -37,11 +37,7 @@ pub impl IOSurface {
}
impl IOSurface : AbstractCFType<IOSurfaceRef> {
pure fn as_type_ref(&self) -> CFTypeRef {
unsafe {
transmute(copy self.obj)
}
}
pure fn get_ref() -> IOSurfaceRef { self.obj }
static fn wrap(obj: IOSurfaceRef) -> IOSurface {
assert obj != ptr::null();