Skip to content

Instantly share code, notes, and snippets.

@adriantofan
Created June 25, 2015 12:43
Show Gist options
  • Save adriantofan/ca867ce2f537996ec1bc to your computer and use it in GitHub Desktop.
Save adriantofan/ca867ce2f537996ec1bc to your computer and use it in GitHub Desktop.
preprocessor objective-c
The ' ## ' preprocessing operator performs token pasting.
#define macro(x) ## x \\gets replaced by the value of x
Stringification # x makes x in to a string so @#x in objective-c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment