summaryrefslogtreecommitdiff
path: root/lib/LuaHandle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LuaHandle.cc')
-rw-r--r--lib/LuaHandle.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/LuaHandle.cc b/lib/LuaHandle.cc
index 5e9a8ce..5107766 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.11 2003-12-14 21:13:33 pixel Exp $ */
+/* $Id: LuaHandle.cc,v 1.12 2003-12-26 20:36:07 pixel Exp $ */
#include "LuaHandle.h"
@@ -350,7 +350,7 @@ int sLuaHandle::copy(lua_State * _L, int dir) {
SWAP(s, d);
}
- ::copy(s, d, r);
+ s->copyto(d, r);
return 0;
}
@@ -610,8 +610,8 @@ void LuaBuffer::pushmembers(Lua * L) {
void LuaHandle::pushmembers(Lua * L) {
pushme(L, h);
- pushit(L, "read", sLuaHandle::read);
- pushit(L, "write", sLuaHandle::write);
+ pushit(L, "read", &sLuaHandle::read);
+ pushit(L, "write", &sLuaHandle::write);
pushit(L, "readU8", sLuaHandle::readU8);
pushit(L, "readU16", sLuaHandle::readU16);