Mercurial > hg > dmlib
comparison jssplr.h @ 97:2884a611042b
Fix building with debug mode.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 02 Oct 2012 20:18:39 +0300 |
parents | e0e470c3fc8e |
children | 8ac24d753304 |
comparison
equal
deleted
inserted
replaced
96:6bf5220fa47e | 97:2884a611042b |
---|---|
161 | 161 |
162 | 162 |
163 /* Debugging macros | 163 /* Debugging macros |
164 */ | 164 */ |
165 #if !defined(JSS_LIGHT) && defined(JSS_DEBUG) | 165 #if !defined(JSS_LIGHT) && defined(JSS_DEBUG) |
166 # define JMPDEBUG(QQ) { fprintf(stderr, "[o=%03d:p=%03d:r=%03d] (%c/%x:%x) %s\n", mp->iOrder, mp->iPattern, mp->iRow, effect, currNote->effect, currNote->param, QQ ); } | 166 # define JMPDEBUG(QQ) { fprintf(stderr, "[o=%03d:p=%03d:r=%03d] (%c/%x:%x) %s\n", mp->order, mp->npattern, mp->row, effect, currNote->effect, currNote->param, QQ ); } |
167 #else | 167 #else |
168 # define JMPDEBUG(QQ) // stub | 168 # define JMPDEBUG(QQ) // stub |
169 #endif | 169 #endif |
170 | 170 |
171 #endif // JSSPLR_H | 171 #endif // JSSPLR_H |