Created
April 22, 2015 21:17
-
-
Save langford/b010bbad7c828a54c0f1 to your computer and use it in GitHub Desktop.
MACRO VERSION OF NEO NACHO'S ABOMINATION
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
#define LET(name,initializer) const typeof(initializer) (name) = (initializer) | |
#define VAR(name,initializer) typeof(initializer) (name) = (initializer) | |
void letsCry(void){ | |
VAR(bojangles,@{}.mutableCopy); | |
bojangles = @{@"derp":@"yerp"}; | |
NSLog(@"Bojangles is: %@",bojangles); | |
LET(bojangles2,@{}.mutableCopy); | |
NSLog(@"Bojangles2 is: %@",bojangles2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment