diff options
author | pixel <pixel> | 2007-05-30 06:36:02 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-05-30 06:36:02 +0000 |
commit | 894c6aa0dd25631eed977da67e99f934be14611d (patch) | |
tree | 8e9a72d04d28612900520397f4bc86dab1836ec6 /lib | |
parent | 6c16139384a26103a37cbdd82138440177eebf0e (diff) |
Swapping argument order.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/BLua.cc | 4 | ||||
-rw-r--r-- | lib/LuaConfigFile.cc | 6 | ||||
-rw-r--r-- | lib/LuaHandle.cc | 4 | ||||
-rw-r--r-- | lib/LuaHttp.cc | 4 | ||||
-rw-r--r-- | lib/LuaRegex.cc | 4 | ||||
-rw-r--r-- | lib/LuaSQL.cc | 2 |
6 files changed, 12 insertions, 12 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc index 1840791..9f77b55 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: BLua.cc,v 1.44 2007-05-30 06:28:53 pixel Exp $ */ +/* $Id: BLua.cc,v 1.45 2007-05-30 06:36:07 pixel Exp $ */ #include <stdlib.h> #include "BLua.h" @@ -1158,7 +1158,7 @@ void LuaObject::push(Lua * L) throw (GeneralException) { pushed = true; } -void LuaObject::pushme(Lua * L, void * o, bool obj, const String & objname) { +void LuaObject::pushme(Lua * L, void * o, const String & objname, bool obj) { void ** u; bool * b; L->lock(); diff --git a/lib/LuaConfigFile.cc b/lib/LuaConfigFile.cc index 08727fa..065ed63 100644 --- a/lib/LuaConfigFile.cc +++ b/lib/LuaConfigFile.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaConfigFile.cc,v 1.5 2007-05-30 06:28:53 pixel Exp $ */ +/* $Id: LuaConfigFile.cc,v 1.6 2007-05-30 06:36:07 pixel Exp $ */ #include "LuaConfigFile.h" @@ -64,7 +64,7 @@ class sLua_ConfigFile : public Base { }; void LuaConfigFile::pushmembers(Lua * L) { - pushme(L, c, true, "ConfigFile"); + pushme(L, c, "ConfigFile"); PUSH_METAMETHOD(ConfigFile, CONFIGFILE_INDEX); PUSH_METAMETHOD(ConfigFile, CONFIGFILE_NEWINDEX); @@ -137,7 +137,7 @@ class sLua_ConfigSectionContents : public Base { }; void LuaConfigSectionContents::pushmembers(Lua * L) { - pushme(L, c, true, "ConfigSectionContents"); + pushme(L, c, "ConfigSectionContents"); PUSH_METAMETHOD(ConfigSectionContents, CONFIGSECTIONCONTENTS_INDEX); PUSH_METAMETHOD(ConfigSectionContents, CONFIGSECTIONCONTENTS_NEWINDEX); diff --git a/lib/LuaHandle.cc b/lib/LuaHandle.cc index 05f2ced..4ecce93 100644 --- a/lib/LuaHandle.cc +++ b/lib/LuaHandle.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaHandle.cc,v 1.19 2007-05-30 06:28:53 pixel Exp $ */ +/* $Id: LuaHandle.cc,v 1.20 2007-05-30 06:36:07 pixel Exp $ */ #include "LuaHandle.h" @@ -639,7 +639,7 @@ void LuaBuffer::pushmembers(Lua * L) { } void LuaHandle::pushmembers(Lua * L) { - pushme(L, h, true, "Handle"); + pushme(L, h, "Handle"); pushit(L, "read", &sLuaHandle::read); pushit(L, "write", &sLuaHandle::write); diff --git a/lib/LuaHttp.cc b/lib/LuaHttp.cc index bebe06d..75e56a8 100644 --- a/lib/LuaHttp.cc +++ b/lib/LuaHttp.cc @@ -46,7 +46,7 @@ class sLua_LuaDomain : public Base { }; void LuaLuaDomain::pushmembers(Lua * L) { - pushme(L, d, true, "LuaDomain"); + pushme(L, d, "LuaDomain"); PUSH_METHOD(LuaDomain, LUADOMAIN_ONTOP); } @@ -99,7 +99,7 @@ class sLua_HttpResponse : public Base { }; void LuaHttpResponse::pushmembers(Lua * L) { - pushme(L, r, true, "HttpResponse"); + pushme(L, r, "HttpResponse"); PUSH_METAMETHOD(HttpResponse, HTTPRESPONSE_INDEX); PUSH_METAMETHOD(HttpResponse, HTTPRESPONSE_NEWINDEX); diff --git a/lib/LuaRegex.cc b/lib/LuaRegex.cc index e4c5148..bbc5a9a 100644 --- a/lib/LuaRegex.cc +++ b/lib/LuaRegex.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: LuaRegex.cc,v 1.2 2007-05-30 06:28:53 pixel Exp $ */ +/* $Id: LuaRegex.cc,v 1.3 2007-05-30 06:36:07 pixel Exp $ */ #include "LuaRegex.h" @@ -52,7 +52,7 @@ class sLua_Regex : public Base { }; void LuaRegex::pushmembers(Lua * L) { - pushme(L, r, true, "Regex"); + pushme(L, r, "Regex"); PUSH_METHOD(Regex, REGEX_MATCH); } diff --git a/lib/LuaSQL.cc b/lib/LuaSQL.cc index f0659af..eb9c5c2 100644 --- a/lib/LuaSQL.cc +++ b/lib/LuaSQL.cc @@ -56,7 +56,7 @@ class sLua_SQLConnection : public Base { }; void LuaSQLConnection::pushmembers(Lua * L) { - pushme(L, c, true, "SQLConnection"); + pushme(L, c, "SQLConnection"); PUSH_METHOD(SQLConnection, SQLCONNECTION_QUERY); PUSH_METHOD(SQLConnection, SQLCONNECTION_NUMROWS); |