Add bindings for CFGetTypeID, CFHash, CFStringGetTypeID

This commit is contained in:
Brian J. Burg
2012-11-07 17:39:29 -08:00
parent f679a48102
commit a7eade7fc2
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -129,7 +129,8 @@ extern {
//fn CFEqual
//fn CFGetAllocator
fn CFGetRetainCount(cf: CFTypeRef) -> CFIndex;
//fn CFHash
fn CFGetTypeID(cf: CFTypeRef) -> CFTypeID;
fn CFHash(cf: CFTypeRef) -> CFHashCode;
//fn CFMakeCollectable
fn CFRelease(cf: CFTypeRef);
fn CFRetain(cf: CFTypeRef) -> CFTypeRef;
+2 -1
View File
@@ -7,6 +7,7 @@ use base::{
CFOptionFlags,
CFRelease,
CFTypeRef,
CFTypeID,
kCFAllocatorDefault,
kCFAllocatorNull,
@@ -331,7 +332,7 @@ extern {
/* Getting String Properties */
//fn CFShowStr
//fn CFStringGetTypeID
fn CFStringGetTypeID() -> CFTypeID;
/* String File System Representations */
//fn CFStringCreateWithFileSystemRepresentation