From ddc3964ed95d01e72229dc9af968a327cd84e56c Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Fri, 1 Oct 2004 13:21:35 +0000 Subject: - add python, missing gui - remove console (needs to be rewritten anyway) - eString -> std::string --- lib/base/eerror.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/base/eerror.h') diff --git a/lib/base/eerror.h b/lib/base/eerror.h index bf913959..476029c7 100644 --- a/lib/base/eerror.h +++ b/lib/base/eerror.h @@ -9,12 +9,12 @@ void eFatal(const char* fmt, ...); -class eString; - enum { lvlDebug=1, lvlWarning=2, lvlFatal=4 }; -extern Signal2 logOutput; +#ifndef SWIG +extern Signal2 logOutput; extern int logOutputConsole; +#endif #ifdef ASSERT #undef ASSERT @@ -24,7 +24,9 @@ extern int logOutputConsole; void eDebug(const char* fmt, ...); void eDebugNoNewLine(const char* fmt, ...); void eWarning(const char* fmt, ...); +#ifndef SWIG #define ASSERT(x) { if (!(x)) eFatal("%s:%d ASSERTION %s FAILED!", __FILE__, __LINE__, #x); } +#endif #else inline void eDebug(const char* fmt, ...) { -- cgit v1.2.3