Searched refs:lua_isinteger (Results 1 – 7 of 7) sorted by relevance
/netbsd-src/external/mit/lua/dist/src/ |
H A D | lmathlib.c | 32 if (lua_isinteger(L, 1)) { in math_abs() 98 if (lua_isinteger(L, 1)) in math_floor() 109 if (lua_isinteger(L, 1)) in math_ceil() 120 if (lua_isinteger(L, 1) && lua_isinteger(L, 2)) { in math_fmod() 142 if (lua_isinteger(L ,1)) { in math_modf() 238 lua_pushstring(L, (lua_isinteger(L, 1)) ? "integer" : "float"); in math_type()
|
H A D | lauxlib.c | 686 lua_assert(lua_isinteger(L, -1)); in luaL_ref() 705 lua_assert(lua_isinteger(L, -1)); in luaL_unref() 913 if (lua_isinteger(L, idx)) in luaL_tolstring()
|
H A D | lua.h | 200 LUA_API int (lua_isinteger) (lua_State *L, int idx); variable
|
H A D | liolib.c | 668 int len = lua_isinteger(L, arg) in g_write()
|
H A D | lapi.c | 309 LUA_API int lua_isinteger (lua_State *L, int idx) { in lua_isinteger() function
|
H A D | lstrlib.c | 1197 if (!lua_isinteger(L, arg)) /* float? */ in addliteral()
|
/netbsd-src/lib/lua/libm/ |
H A D | libm.c | 80 if (!lua_isinteger(L, 1) || \ 195 if (!lua_isnumber(L, 1) || !lua_isinteger(L, 2)) in libm_scalbn()
|