diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-09-06 14:20:11 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-09-06 14:20:11 -0300 |
| commit | 5fa6604f00f7ccf44b0c61d9d272ad5ea66082bd (patch) | |
| tree | 31b5b3185cb9520e2c731f60b6a28232bd722b13 | |
| parent | ce67a9be315398efd38c0c334cdd8244fcab57a4 (diff) | |
| download | lua-5fa6604f00f7ccf44b0c61d9d272ad5ea66082bd.tar.gz lua-5fa6604f00f7ccf44b0c61d9d272ad5ea66082bd.tar.bz2 lua-5fa6604f00f7ccf44b0c61d9d272ad5ea66082bd.zip | |
detail
| -rw-r--r-- | lauxlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -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 | ||
| 267 | static int checkint (lua_State *L, int topop) { | 267 | static 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; |
