2005-01-12 08:03:09 -08:00
|
|
|
#ifdef E_TYPEDEFS
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2011-07-26 19:35:03 -07:00
|
|
|
#define e_error_message_show(args...) do \
|
2004-11-24 19:37:45 -08:00
|
|
|
{ \
|
2012-08-22 00:02:41 -07:00
|
|
|
char __tmpbuf[4096]; \
|
2004-11-24 19:37:45 -08:00
|
|
|
\
|
|
|
|
snprintf(__tmpbuf, sizeof(__tmpbuf), ##args); \
|
|
|
|
e_error_message_show_internal(__tmpbuf); \
|
2011-07-26 19:35:03 -07:00
|
|
|
} while (0)
|
2004-11-24 19:37:45 -08:00
|
|
|
|
2005-01-12 08:03:09 -08:00
|
|
|
#else
|
|
|
|
#ifndef E_ERROR_H
|
|
|
|
#define E_ERROR_H
|
|
|
|
|
2015-05-07 12:13:10 -07:00
|
|
|
E_API void e_error_message_show_internal(char *txt);
|
2012-06-20 23:19:43 -07:00
|
|
|
|
2004-11-24 19:37:45 -08:00
|
|
|
#endif
|
2005-01-12 08:03:09 -08:00
|
|
|
#endif
|