Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CFSetApplyFunction and CFSetGetCount #99

Merged
merged 1 commit into from Apr 2, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -11,6 +11,8 @@ use libc::c_void;

use base::{CFAllocatorRef, CFIndex, CFTypeID};

pub type CFSetApplierFunction = extern "C" fn (value: *const c_void,
context: *const c_void);
pub type CFSetRetainCallBack = *const u8;
pub type CFSetReleaseCallBack = *const u8;
pub type CFSetCopyDescriptionCallBack = *const u8;
@@ -45,7 +47,11 @@ extern {
callBacks: *const CFSetCallBacks) -> CFSetRef;

/* Applying a Function to Set Members */
//fn CFSetApplyFunction
pub fn CFSetApplyFunction(theSet: CFSetRef,
applier: CFSetApplierFunction,
context: *const c_void);

pub fn CFSetGetCount(theSet: CFSetRef) -> CFIndex;

pub fn CFSetGetTypeID() -> CFTypeID;
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.