diff options
author | Mike Pall <mike> | 2021-06-01 05:16:32 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2021-06-01 05:16:32 +0200 |
commit | a119497becdf2894fb7fa737f106464309dd7947 (patch) | |
tree | 95c7f88198ba3f12eff52fd5646207ffb31da2d5 /src/lj_lib.h | |
parent | edd5cbadc5cdc7b5b66d5340ee97c5abe5a3892a (diff) | |
download | luajit-a119497becdf2894fb7fa737f106464309dd7947.tar.gz luajit-a119497becdf2894fb7fa737f106464309dd7947.tar.bz2 luajit-a119497becdf2894fb7fa737f106464309dd7947.zip |
String buffers, part 2d: basic string buffer methods.
Sponsored by fmad.io.
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 718d8eb4..f59e9ea2 100644 --- a/src/lj_lib.h +++ b/src/lj_lib.h | |||
@@ -46,6 +46,12 @@ LJ_FUNC GCtab *lj_lib_checktab(lua_State *L, int narg); | |||
46 | LJ_FUNC GCtab *lj_lib_checktabornil(lua_State *L, int narg); | 46 | LJ_FUNC GCtab *lj_lib_checktabornil(lua_State *L, int narg); |
47 | LJ_FUNC int lj_lib_checkopt(lua_State *L, int narg, int def, const char *lst); | 47 | LJ_FUNC int lj_lib_checkopt(lua_State *L, int narg, int def, const char *lst); |
48 | 48 | ||
49 | #if LJ_HASBUFFER | ||
50 | LJ_FUNC GCstr *lj_lib_checkstrx(lua_State *L, int narg); | ||
51 | LJ_FUNC int32_t lj_lib_checkintrange(lua_State *L, int narg, | ||
52 | int32_t a, int32_t b); | ||
53 | #endif | ||
54 | |||
49 | /* Avoid including lj_frame.h. */ | 55 | /* Avoid including lj_frame.h. */ |
50 | #if LJ_GC64 | 56 | #if LJ_GC64 |
51 | #define lj_lib_upvalue(L, n) \ | 57 | #define lj_lib_upvalue(L, n) \ |