summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/LuaHandle.cc14
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);
}