mirror of
https://github.com/lua/lua
synced 2024-11-26 14:51:21 +03:00
detail
This commit is contained in:
parent
ce67a9be31
commit
5fa6604f00
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
** $Id: lauxlib.c,v 1.150 2005/08/26 17:32:05 roberto Exp roberto $
|
** $Id: lauxlib.c,v 1.151 2005/08/26 17:36:32 roberto Exp roberto $
|
||||||
** Auxiliary functions for building Lua libraries
|
** Auxiliary functions for building Lua libraries
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@ -262,7 +262,7 @@ LUALIB_API void luaI_openlib (lua_State *L, const char *libname,
|
|||||||
** =======================================================
|
** =======================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef luaL_getn
|
#if defined(LUA_COMPAT_GETN)
|
||||||
|
|
||||||
static int checkint (lua_State *L, int topop) {
|
static int checkint (lua_State *L, int topop) {
|
||||||
int n = (lua_type(L, -1) == LUA_TNUMBER) ? lua_tointeger(L, -1) : -1;
|
int n = (lua_type(L, -1) == LUA_TNUMBER) ? lua_tointeger(L, -1) : -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user