aboutsummaryrefslogtreecommitdiff
path: root/src/lj_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_lib.h')
-rw-r--r--src/lj_lib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lj_lib.h b/src/lj_lib.h
index 2fe6d2a8..2dd45adb 100644
--- a/src/lj_lib.h
+++ b/src/lj_lib.h
@@ -41,7 +41,6 @@ LJ_FUNC void lj_lib_checknumber(lua_State *L, int narg);
41LJ_FUNC lua_Number lj_lib_checknum(lua_State *L, int narg); 41LJ_FUNC lua_Number lj_lib_checknum(lua_State *L, int narg);
42LJ_FUNC int32_t lj_lib_checkint(lua_State *L, int narg); 42LJ_FUNC int32_t lj_lib_checkint(lua_State *L, int narg);
43LJ_FUNC int32_t lj_lib_optint(lua_State *L, int narg, int32_t def); 43LJ_FUNC int32_t lj_lib_optint(lua_State *L, int narg, int32_t def);
44LJ_FUNC int32_t lj_lib_checkbit(lua_State *L, int narg);
45LJ_FUNC GCfunc *lj_lib_checkfunc(lua_State *L, int narg); 44LJ_FUNC GCfunc *lj_lib_checkfunc(lua_State *L, int narg);
46LJ_FUNC GCtab *lj_lib_checktab(lua_State *L, int narg); 45LJ_FUNC GCtab *lj_lib_checktab(lua_State *L, int narg);
47LJ_FUNC GCtab *lj_lib_checktabornil(lua_State *L, int narg); 46LJ_FUNC GCtab *lj_lib_checktabornil(lua_State *L, int narg);
@@ -77,6 +76,7 @@ static LJ_AINLINE void lj_lib_pushcc(lua_State *L, lua_CFunction f,
77#define LJLIB_CF(name) static int lj_cf_##name(lua_State *L) 76#define LJLIB_CF(name) static int lj_cf_##name(lua_State *L)
78#define LJLIB_ASM(name) static int lj_ffh_##name(lua_State *L) 77#define LJLIB_ASM(name) static int lj_ffh_##name(lua_State *L)
79#define LJLIB_ASM_(name) 78#define LJLIB_ASM_(name)
79#define LJLIB_LUA(name)
80#define LJLIB_SET(name) 80#define LJLIB_SET(name)
81#define LJLIB_PUSH(arg) 81#define LJLIB_PUSH(arg)
82#define LJLIB_REC(handler) 82#define LJLIB_REC(handler)
@@ -96,7 +96,8 @@ LJ_FUNC void lj_lib_register(lua_State *L, const char *libname,
96#define LIBINIT_ASM 0x40 96#define LIBINIT_ASM 0x40
97#define LIBINIT_ASM_ 0x80 97#define LIBINIT_ASM_ 0x80
98#define LIBINIT_STRING 0xc0 98#define LIBINIT_STRING 0xc0
99#define LIBINIT_MAXSTR 0x39 99#define LIBINIT_MAXSTR 0x38
100#define LIBINIT_LUA 0xf9
100#define LIBINIT_SET 0xfa 101#define LIBINIT_SET 0xfa
101#define LIBINIT_NUMBER 0xfb 102#define LIBINIT_NUMBER 0xfb
102#define LIBINIT_COPY 0xfc 103#define LIBINIT_COPY 0xfc