Differences From Artifact [1ed7809f51]:
- File
src/macros.h
— part of check-in
[1cb8fee5c3]
at
2012-10-13 21:06:59
on branch trunk
— of_bswap* -> OF_BSWAP*.
This makes it clear that multiple evaluation of parameters is possible. (user: js, size: 8945) [annotate] [blame] [check-ins using]
To Artifact [f956fa931a]:
- File
src/macros.h
— part of check-in
[120caad331]
at
2012-11-30 16:09:39
on branch trunk
— Make runtime API more similar to Apple's.
This makes it easier to use runtime functions in portable code. (user: js, size: 8869) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
114 115 116 117 118 119 120 | #define OF_ENSURE(cond) \ if (!(cond)) { \ fprintf(stderr, "Failed to ensure condition in " \ __FILE__ ":%d:\n" #cond "\n", __LINE__); \ abort(); \ } | < < < < | 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | #define OF_ENSURE(cond) \ if (!(cond)) { \ fprintf(stderr, "Failed to ensure condition in " \ __FILE__ ":%d:\n" #cond "\n", __LINE__); \ abort(); \ } #ifndef _WIN32 # define OF_PATH_DELIMITER '/' #else # define OF_PATH_DELIMITER '\\' #endif #define OF_PATH_PARENT_DIR @".." |
︙ | ︙ |