| LUAL_CHECKLONG(3) | Library Functions Manual | LUAL_CHECKLONG(3) |
luaL_checklong —
checks whether the function argument is a number, function
indicator [-0, +0, v]
#include
<lauxlib.h>
long
luaL_checklong(lua_State
*L, int narg);
luaL_checklong()
checks whether the function argument narg is a number
and returns this number cast to a long.
Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes, Lua 5.1 Reference Manual.
The luaL_checklong() manual page is based
on Lua Reference Manual 5.1 and was created by Sergey Bronnikov.
| July 24, 2022 | Debian |