From 79c8edb6c423b48270c1f61df6fd5a889ca5da0e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 17 Jul 2002 13:25:13 -0300 Subject: new names for light userdata operations --- liolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index e67d61fd..2798e2bf 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 2.12 2002/06/26 16:37:13 roberto Exp roberto $ +** $Id: liolib.c,v 2.13 2002/07/12 18:54:53 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -67,7 +67,7 @@ static FILE *tofile (lua_State *L, int findex) { static void newfile (lua_State *L, FILE *f) { - lua_newpointerbox(L, f); + lua_boxpointer(L, f); lua_pushliteral(L, FILEHANDLE); lua_rawget(L, LUA_REGISTRYINDEX); lua_setmetatable(L, -2); -- cgit v1.2.3-55-g6feb