comparison src/xmms-sid.h @ 879:2a50d36215c3

Move error printing function to xs_support.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 09 Nov 2012 05:18:36 +0200
parents a2eb84ed5280
children be2a8436461a
comparison
equal deleted inserted replaced
878:9d31c1344f26 879:2a50d36215c3
158 void xs_seek(gint); 158 void xs_seek(gint);
159 gint xs_get_time(void); 159 gint xs_get_time(void);
160 void xs_get_song_info(gchar *, gchar **, gint *); 160 void xs_get_song_info(gchar *, gchar **, gint *);
161 void xs_about(void); 161 void xs_about(void);
162 162
163 void xs_error(const char *, ...); 163
164
165
166 /* Debugging
167 */
168 #ifndef DEBUG_NP 164 #ifndef DEBUG_NP
169 void XSDEBUG(const char *, ...); 165 void XSDEBUG(const char *, ...);
170 #else 166 #else
171 # ifdef DEBUG 167 # ifdef DEBUG
172 # define XSDEBUG(...) { fprintf(stderr, "XS[%s:%s:%d]: ", __FILE__, __FUNCTION__, (int) __LINE__); fprintf(stderr, __VA_ARGS__); } 168 # define XSDEBUG(...) { fprintf(stderr, "XS[%s:%s:%d]: ", __FILE__, __FUNCTION__, (int) __LINE__); fprintf(stderr, __VA_ARGS__); }