aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-09-06 14:20:11 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-09-06 14:20:11 -0300
commit5fa6604f00f7ccf44b0c61d9d272ad5ea66082bd (patch)
tree31b5b3185cb9520e2c731f60b6a28232bd722b13
parentce67a9be315398efd38c0c334cdd8244fcab57a4 (diff)
downloadlua-5fa6604f00f7ccf44b0c61d9d272ad5ea66082bd.tar.gz
lua-5fa6604f00f7ccf44b0c61d9d272ad5ea66082bd.tar.bz2
lua-5fa6604f00f7ccf44b0c61d9d272ad5ea66082bd.zip
detail
-rw-r--r--lauxlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 58811134..07dcdb27 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.150 2005/08/26 17:32:05 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.151 2005/08/26 17:36:32 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -262,7 +262,7 @@ LUALIB_API void luaI_openlib (lua_State *L, const char *libname,
262** ======================================================= 262** =======================================================
263*/ 263*/
264 264
265#ifndef luaL_getn 265#if defined(LUA_COMPAT_GETN)
266 266
267static int checkint (lua_State *L, int topop) { 267static int checkint (lua_State *L, int topop) {
268 int n = (lua_type(L, -1) == LUA_TNUMBER) ? lua_tointeger(L, -1) : -1; 268 int n = (lua_type(L, -1) == LUA_TNUMBER) ? lua_tointeger(L, -1) : -1;