2005-02-07 05:51:09 -08:00
|
|
|
/*
|
|
|
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
|
|
|
*/
|
2005-01-12 08:03:09 -08:00
|
|
|
#ifdef E_TYPEDEFS
|
2004-11-24 19:37:45 -08:00
|
|
|
|
|
|
|
#define e_error_message_show(args...) \
|
|
|
|
{ \
|
|
|
|
char __tmpbuf[4096]; \
|
|
|
|
\
|
|
|
|
snprintf(__tmpbuf, sizeof(__tmpbuf), ##args); \
|
|
|
|
e_error_message_show_internal(__tmpbuf); \
|
|
|
|
}
|
|
|
|
|
2005-01-12 08:03:09 -08:00
|
|
|
#else
|
|
|
|
#ifndef E_ERROR_H
|
|
|
|
#define E_ERROR_H
|
|
|
|
|
2004-11-24 21:31:21 -08:00
|
|
|
EAPI void e_error_message_show_internal(char *txt);
|
2006-09-16 04:51:05 -07:00
|
|
|
|
2004-11-24 19:37:45 -08:00
|
|
|
#endif
|
2005-01-12 08:03:09 -08:00
|
|
|
#endif
|