]> rtime.felk.cvut.cz Git - eurobot/public.git/blob - src/motion/trgendbg.h
a516681abd07f0bbc5220dcb500fd23e5e07fa54
[eurobot/public.git] / src / motion / trgendbg.h
1 #ifndef TRGENDBG_H
2 #define TRGENDBG_H
3
4 //#define DEBUG
5
6 #ifdef MATLAB_MEX_FILE
7 #include "simstruc.h"
8 #endif
9
10
11
12 #ifdef DEBUG
13   #ifdef MATLAB_MEX_FILE
14     #define dbgPrintf(format, ...) ssPrintf(format, ##__VA_ARGS__)
15   #else
16     #define dbgPrintf(format, ...) printf(format, ##__VA_ARGS__)
17   #endif
18 #else
19 #define dbgPrintf(format, ...)
20 #endif
21
22
23
24 #endif