... | ... |
@@ -228,34 +228,24 @@ |
228 | 228 |
# define LEMON_ASSERT(exp, msg) \ |
229 | 229 |
(static_cast<void> (!!(exp) ? 0 : ( \ |
230 | 230 |
LEMON_ASSERT_HANDLER(__FILE__, __LINE__, \ |
231 | 231 |
LEMON_FUNCTION_NAME, \ |
232 | 232 |
::lemon::_assert_bits::cstringify(msg), \ |
233 | 233 |
#exp), 0))) |
234 | 234 |
# define LEMON_FIXME(msg) \ |
235 | 235 |
(LEMON_ASSERT_HANDLER(__FILE__, __LINE__, LEMON_FUNCTION_NAME, \ |
236 | 236 |
::lemon::_assert_bits::cstringify(msg), \ |
237 | 237 |
static_cast<const char*>(0))) |
238 | 238 |
|
239 | 239 |
# if LEMON_ENABLE_DEBUG |
240 | 240 |
# define LEMON_DEBUG(exp, msg) |
241 | 241 |
(static_cast<void> (!!(exp) ? 0 : ( \ |
242 | 242 |
LEMON_ASSERT_HANDLER(__FILE__, __LINE__, \ |
243 | 243 |
LEMON_FUNCTION_NAME, \ |
244 | 244 |
::lemon::_assert_bits::cstringify(msg), \ |
245 | 245 |
#exp), 0))) |
246 | 246 |
# else |
247 | 247 |
# define LEMON_DEBUG(exp, msg) (static_cast<void>(0)) |
248 | 248 |
# endif |
249 | 249 |
# endif |
250 | 250 |
|
251 | 251 |
#endif |
252 |
|
|
253 |
#ifdef DOXYGEN |
|
254 |
|
|
255 |
|
|
256 |
#else |
|
257 |
|
|
258 |
|
|
259 |
#endif |
|
260 |
|
|
261 |
|
0 comments (0 inline)