Created
October 19, 2012 14:19
-
-
Save pita5/3918457 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
dispatch_block_t block; | |
if (x) { | |
struct Block __tmp_1 = ...; // setup details | |
block = &__tmp_1; | |
} else { | |
struct Block __tmp_2 = ...; // setup details | |
block = &__tmp_2; | |
} | |
block(); // unsafe!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment