From d628795940cb00420829077869c0efe5678b4e18 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 31 May 2005 11:34:02 -0300 Subject: lua_objsize -> lua_objlen (more compatible with use of `lenĀ“ in other places [opcode name, metamethod index, etc.]) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lauxlib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lauxlib.h') diff --git a/lauxlib.h b/lauxlib.h index 504fac97..e6a6dca3 100644 --- a/lauxlib.h +++ b/lauxlib.h @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.h,v 1.77 2005/05/25 13:21:26 roberto Exp roberto $ +** $Id: lauxlib.h,v 1.78 2005/05/31 14:25:18 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -16,7 +16,7 @@ #if !defined(LUA_COMPAT_GETN) -#define luaL_getn(L,i) ((int)lua_objsize(L, i)) +#define luaL_getn(L,i) ((int)lua_objlen(L, i)) #define luaL_setn(L,i,j) ((void)0) /* no op! */ #endif -- cgit v1.2.3-55-g6feb