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
// See http://stackoverflow.com/a/257424/283482 | |
// Normally a "do {…} while (0)" is used to prevent the problem described in the linked answer, | |
// but this would prevent us from using "continue" or "break" in the block parameter. | |
// The problem is fixed thanks to the "if (1) {…}", doing the same as the "do {…} while (0)". | |
#define AssertTrueOrRunBlock(condition, block, description, ...)\ | |
if (1) {\ | |
__PRAGMA_PUSH_NO_EXTRA_ARG_WARNINGS\ | |
BOOL check = !!(condition);\ | |
NSCAssert(check, (description), ##__VA_ARGS__);\ |
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
alfred://customsearch/OpenGL%20ES%20Documentation%20for%20gl%7Bquery%7D/opengl/utf8/noplus/http://www.khronos.org/opengles/sdk/docs/man/xhtml/gl{query}.xml |
NewerOlder