MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / lua_Integer luaL_checkinteger

Function lua_Integer luaL_checkinteger

src/Chain/libraries/glua/lauxlib.cpp:433–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431
432
433LUALIB_API lua_Integer luaL_checkinteger(lua_State *L, int arg) {
434 int isnum;
435 lua_Integer d = lua_tointegerx(L, arg, &isnum);
436 if (!isnum) {
437 interror(L, arg);
438 }
439 return d;
440}
441
442
443LUALIB_API lua_Integer luaL_optinteger(lua_State *L, int arg,

Callers

nothing calls this directly

Calls 1

interrorFunction · 0.85

Tested by

no test coverage detected