Created
March 3, 2014 23:15
-
-
Save kballenegger/9336682 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| char *const kCBLocationAtStartupString = "startup"; | |
| // etc ... | |
| typedef enum CBLocation { | |
| CBLocationAtStartup = (char *const)"startup", | |
| // etc. | |
| } CBLocation; | |
| void showInterstitial(CBLocation location) { | |
| char *locationString = (char *)location; | |
| printf("%s\n", locationString); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this: