From 0090125ad36fe82d7df317cd41c838f30f4e9cf5 Mon Sep 17 00:00:00 2001 From: pixel Date: Wed, 23 May 2007 13:05:56 +0000 Subject: LuaTask is now able to work on the current stack instead of taking a string command. --- include/LuaTask.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/LuaTask.h b/include/LuaTask.h index 48f65bf..85e228f 100644 --- a/include/LuaTask.h +++ b/include/LuaTask.h @@ -8,6 +8,7 @@ class LuaTask : public Task { public: LuaTask(Lua *, const String &); + LuaTask(Lua *, int); virtual ~LuaTask(); virtual String GetName(); protected: @@ -15,6 +16,7 @@ class LuaTask : public Task { private: Lua * L; String cmd; + int nargs, stacktop; Task * c; Buffer * b; -- cgit v1.2.3