gravatar
kpeter (Peter Kovacs)
kpeter@inf.elte.hu
Fix the incorrect tab replacements of unify-sources.sh
0 11 0
default
11 files changed with 0 insertions and 10 deletions:
↑ Collapse diff ↑
Show white space 128 line context
... ...
@@ -188,74 +188,64 @@
188 188
  (LEMON_ASSERT_HANDLER(__FILE__, __LINE__, LEMON_FUNCTION_NAME,        \
189 189
                        ::lemon::_assert_bits::cstringify(msg),          \
190 190
                        static_cast<const char*>(0)))
191 191

	
192 192
/// \ingroup exceptions
193 193
///
194 194
/// \brief Macro for internal assertions
195 195
///
196 196
/// Macro for internal assertions, it is used in the library to check
197 197
/// the consistency of results of algorithms, several pre- and
198 198
/// postconditions and invariants. The checking is disabled by
199 199
/// default, but it can be turned on with the macro \c
200 200
/// LEMON_ENABLE_DEBUG.
201 201
/// \code
202 202
/// #define LEMON_ENABLE_DEBUG
203 203
/// \endcode
204 204
/// or with compilation parameters:
205 205
/// \code
206 206
/// g++ -DLEMON_ENABLE_DEBUG
207 207
/// make CXXFLAGS='-DLEMON_ENABLE_DEBUG'
208 208
/// \endcode
209 209
///
210 210
/// This macro works like the \c LEMON_ASSERT macro, therefore the
211 211
/// current behaviour depends on the settings of \c LEMON_ASSERT
212 212
/// macro.
213 213
///
214 214
/// \see LEMON_ASSERT
215 215
#  define LEMON_DEBUG(exp, msg)                                                \
216 216
  (static_cast<void> (!!(exp) ? 0 : (                                        \
217 217
    LEMON_ASSERT_HANDLER(__FILE__, __LINE__,                            \
218 218
                         LEMON_FUNCTION_NAME,                                \
219 219
                         ::lemon::_assert_bits::cstringify(msg), #exp), 0)))
220 220

	
221 221
#else
222 222

	
223 223
#  ifndef LEMON_ASSERT_HANDLER
224 224
#    define LEMON_ASSERT(exp, msg)  (static_cast<void>(0))
225 225
#    define LEMON_FIXME(msg) (static_cast<void>(0))
226 226
#    define LEMON_DEBUG(exp, msg) (static_cast<void>(0))
227 227
#  else
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)