summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2007-05-23 13:05:56 +0000
committerpixel <pixel>2007-05-23 13:05:56 +0000
commit0090125ad36fe82d7df317cd41c838f30f4e9cf5 (patch)
tree4956e95576996f2610c3a691b663084b182c005d /include
parent791463bd7d6358fa137b3c786857770a720e7dac (diff)
LuaTask is now able to work on the current stack instead of taking a
string command.
Diffstat (limited to 'include')
-rw-r--r--include/LuaTask.h2
1 files changed, 2 insertions, 0 deletions
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;