Add bindings for CFGetTypeID, CFHash, CFStringGetTypeID
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user