source: trunk/lib_c/cpp2c/expected_output/debug.hpp @ 3396

Last change on this file since 3396 was 3396, checked in by linmengl, 6 years ago

handle bitblock_iterator.hpp correctly now

File size: 545 bytes
Line 
1#ifndef DEBUG_H_
2#define DEBUG_H_
3
4/*=============================================================================
5  debug.hpp - Debug macros.
6  Created on:
7  Author: Ken Herdy
8=============================================================================*/
9
10#include <iostream>
11
12// #define NDEBUG // if NDEBUG then disable assertions
13
14#ifdef NDEBUG
15#define MSG(str)
16#define VAR(name, value)
17#else
18#define MSG(str) std::cout << str << std::endl;
19#define VAR(name, value) std::cout << name << ":" << value << std::endl;
20#endif
21
22#endif // DEBUG_H_
Note: See TracBrowser for help on using the repository browser.