Created
August 7, 2009 17:39
-
-
Save wndxlori/164046 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starts with prototype in header: | |
void* _CalcImageBlobParam( | |
void *pBlob, | |
PERFECTLYCLEARCALLBACK callbackfn = NULL, | |
void *pUserData = NULL | |
); | |
Modified for use in Objective-C: | |
void* _CalcImageBlobParam( | |
void *pBlob, | |
PERFECTLYCLEARCALLBACK callbackfn | |
#ifndef __OBJC__ | |
= NULL | |
#endif | |
, | |
void *pUserData | |
#ifndef __OBJC__ | |
= NULL | |
#endif | |
); | |
Then, when you call this in Objective-C, you just have to explicitly pass NULL to the optional parameters. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment