blob: 3bf52ab050f1372c6f7e8d3c03be6c1108c4d24e (
plain) (
tree)
|
|
#ifndef HAVE_ESPIK_DEBUG_H
#define HAVE_ESPIK_DEBUG_H
#include "espik_global.h"
#ifdef __GNUC__
#define espik_debug_print(fmt, ...) \
{ \
fprintf (stdout, "%s+%i @%s: '", __FILE__, __LINE__, __func__); \
fprintf (stdout, fmt, __VA_ARGS__); \
fprintf (stdout, "'\n"); \
}
#else
#define espik_debug_print(fmt, ...) \
{ \
}
#endif /* __GNUC__ */
inline void espik_bt (void);
void espik_debug_init();
void kill_me (short num);
#endif /* HAVE_ESPIK_DEBUG_H */
|