From 043c2ac2584ee14865c41cbc07addd55f284e0a3 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 6 Mar 1998 15:47:42 -0300 Subject: new names for "lua_pushlstr" and "lua_getstrlen" --- liolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index 260625bb..4a499de6 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 1.14 1998/01/07 16:26:48 roberto Exp roberto $ +** $Id: liolib.c,v 1.15 1998/03/06 16:54:42 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -233,7 +233,7 @@ static void io_read (void) ungetc(c, f); l = luaL_getsize(); if (l > 0 || *p == 0) /* read something or did not fail? */ - lua_pushlstr(luaL_buffer(), l); + lua_pushlstring(luaL_buffer(), l); } -- cgit v1.2.3-55-g6feb