diff options
author | pixel <pixel> | 2007-05-30 06:50:06 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-05-30 06:50:06 +0000 |
commit | dfcef1f768388e5eb859426e6e1e0d0bb8a4c65c (patch) | |
tree | 70e3c5d2e9d50cc26c9ffdaa849488ae25eeb12f /lib | |
parent | 201cd989c8c9850e05bc56e1eb28d3714c919ec9 (diff) |
Changing slightly the way the handle subtypes are announcing themselves.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/LuaHandle.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/LuaHandle.cc b/lib/LuaHandle.cc index 4ecce93..0f81252 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.20 2007-05-30 06:36:07 pixel Exp $ */ +/* $Id: LuaHandle.cc,v 1.21 2007-05-30 06:50:06 pixel Exp $ */ #include "LuaHandle.h" @@ -615,15 +615,15 @@ int sLuaHandle::exists(lua_State * __L) { void LuaInput::pushmembers(Lua * L) { LuaHandle::pushmembers(L); - L->push("__objname"); - L->push("Handle:Input"); + L->push("__handletype"); + L->push("Input"); L->settable(-3, true); } void LuaOutput::pushmembers(Lua * L) { LuaHandle::pushmembers(L); - L->push("__objname"); - L->push("Handle:Output"); + L->push("__handletype"); + L->push("Output"); L->settable(-3, true); } @@ -633,8 +633,8 @@ void LuaBuffer::pushmembers(Lua * L) { pushmeta(L, "__newindex", sLuaHandle::bnewindex); pushit(L, "wtell", sLuaHandle::btell); pushit(L, "wseek", sLuaHandle::bseek); - L->push("__objname"); - L->push("Handle:Buffer"); + L->push("__handletype"); + L->push("Buffer"); L->settable(-3, true); } |