diff options
author | deva <deva> | 2010-08-13 13:53:59 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-13 13:53:59 +0000 |
commit | 836ab03e9bdc442bbe8b414007dae294153a748a (patch) | |
tree | ee9035925e006bf5181e3679790708b022b80cad /client/lua.cc | |
parent | 843221d0826ed0a53a94e84772f89c482f80776a (diff) |
Make validation run deep (or not).
Diffstat (limited to 'client/lua.cc')
-rw-r--r-- | client/lua.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/lua.cc b/client/lua.cc index 062e520..eb9b8a3 100644 --- a/client/lua.cc +++ b/client/lua.cc @@ -32,8 +32,8 @@ #include "luawidget.h" -#define DEBUG(fmt...) printf("LUA (%p)", this); printf(fmt); fflush(stdout) -//#define DEBUG(ftm...) +//#define DEBUG(fmt...) printf("LUA (%p)", this); printf(fmt); fflush(stdout) +#define DEBUG(ftm...) #define GLOBAL_POINTER "_pracroGlobalLUAObjectPointerThisShouldBeANameThatIsNotAccidentallyOverwritten" @@ -184,7 +184,7 @@ bool LUA::runScript(QString script, Widget *widget, QString name) void LUA::error(QString message) { - DEBUG("LUA ERROR: %s\n", message.toStdString().c_str()); + printf("LUA ERROR: %s\n", message.toStdString().c_str()); } Widget *LUA::getWidget(QString name) |