diff options
Diffstat (limited to 'src/lj_lib.h')
-rw-r--r-- | src/lj_lib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lj_lib.h b/src/lj_lib.h index ae4be384..2c30b68d 100644 --- a/src/lj_lib.h +++ b/src/lj_lib.h | |||
@@ -33,9 +33,15 @@ | |||
33 | LJ_FUNC TValue *lj_lib_checkany(lua_State *L, int narg); | 33 | LJ_FUNC TValue *lj_lib_checkany(lua_State *L, int narg); |
34 | LJ_FUNC GCstr *lj_lib_checkstr(lua_State *L, int narg); | 34 | LJ_FUNC GCstr *lj_lib_checkstr(lua_State *L, int narg); |
35 | LJ_FUNC GCstr *lj_lib_optstr(lua_State *L, int narg); | 35 | LJ_FUNC GCstr *lj_lib_optstr(lua_State *L, int narg); |
36 | #if LJ_DUALNUM | ||
37 | LJ_FUNC void lj_lib_checknumber(lua_State *L, int narg); | ||
38 | #else | ||
39 | #define lj_lib_checknumber(L, narg) lj_lib_checknum((L), (narg)) | ||
40 | #endif | ||
36 | LJ_FUNC lua_Number lj_lib_checknum(lua_State *L, int narg); | 41 | LJ_FUNC lua_Number lj_lib_checknum(lua_State *L, int narg); |
37 | LJ_FUNC int32_t lj_lib_checkint(lua_State *L, int narg); | 42 | LJ_FUNC int32_t lj_lib_checkint(lua_State *L, int narg); |
38 | LJ_FUNC int32_t lj_lib_optint(lua_State *L, int narg, int32_t def); | 43 | LJ_FUNC int32_t lj_lib_optint(lua_State *L, int narg, int32_t def); |
44 | LJ_FUNC int32_t lj_lib_checkbit(lua_State *L, int narg); | ||
39 | LJ_FUNC GCfunc *lj_lib_checkfunc(lua_State *L, int narg); | 45 | LJ_FUNC GCfunc *lj_lib_checkfunc(lua_State *L, int narg); |
40 | LJ_FUNC GCtab *lj_lib_checktab(lua_State *L, int narg); | 46 | LJ_FUNC GCtab *lj_lib_checktab(lua_State *L, int narg); |
41 | LJ_FUNC GCtab *lj_lib_checktabornil(lua_State *L, int narg); | 47 | LJ_FUNC GCtab *lj_lib_checktabornil(lua_State *L, int narg); |