summaryrefslogtreecommitdiff
path: root/server/src/luaquerymapper.h
diff options
context:
space:
mode:
authordeva <deva>2008-06-09 06:49:58 +0000
committerdeva <deva>2008-06-09 06:49:58 +0000
commite80ccdfac750fdd318eecb35b5f48a3d251ec7ec (patch)
treec296fb042d17f75aad06ff95e5f48dcb8143dabd /server/src/luaquerymapper.h
parentc3a7893d9f2c67614257bc0dbfa802b9cc9ff056 (diff)
Made output accumulation in a buffer and write in the end, thus enabling the corretc outputting of the error box if neccessary.
Diffstat (limited to 'server/src/luaquerymapper.h')
-rw-r--r--server/src/luaquerymapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/luaquerymapper.h b/server/src/luaquerymapper.h
index 83866a0..685abe7 100644
--- a/server/src/luaquerymapper.h
+++ b/server/src/luaquerymapper.h
@@ -50,6 +50,8 @@ public:
*/
Value map(const std::string &mapper);
+ void error(std::string message);
+
private:
lua_State *L;
int clean_top;