lua_Integer
LUA_API lua_Integer lua_tointegerx (lua_State *L, int idx, int *isnum) {
lua_Integer res;
LUA_API void lua_pushinteger (lua_State *L, lua_Integer n) {
LUALIB_API lua_Integer luaL_checkinteger (lua_State *L, int narg) {
lua_Integer d = lua_tointegerx(L, narg, &isnum);
LUALIB_API lua_Integer luaL_optinteger (lua_State *L, int narg,
lua_Integer def) {
LUALIB_API lua_Integer (luaL_checkinteger) (lua_State *L, int numArg);
LUALIB_API lua_Integer (luaL_optinteger) (lua_State *L, int nArg,
lua_Integer def);
#define lua_number2integer(i,n) lua_number2int32(i, n, lua_Integer)
#define lua_number2integer(i,n) ((i)=(lua_Integer)(n))
lua_pushinteger(L, (lua_Integer)l);
lua_Integer newstart = e-s;
LUA_API lua_Integer (lua_tointegerx) (lua_State *L, int idx, int *isnum);
LUA_API void (lua_pushinteger) (lua_State *L, lua_Integer n);