mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-04-10 19:20:44 +01:00
debug macros
This commit is contained in:
parent
30c1e18a48
commit
1b8638e797
@ -35,6 +35,8 @@
|
|||||||
|
|
||||||
// macro utilities
|
// macro utilities
|
||||||
#define unique_arg(...) __VA_ARGS__
|
#define unique_arg(...) __VA_ARGS__
|
||||||
|
#define DEBUG_VAR(x) std::cout << #x << "= " << x << std::endl
|
||||||
|
#define DEBUG_MAT(m) std::cout << #m << "=\n" << m << std::endl
|
||||||
|
|
||||||
// attribute to switch off unused warnings with gcc
|
// attribute to switch off unused warnings with gcc
|
||||||
#ifndef __GNUC__
|
#ifndef __GNUC__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user