diff options
Diffstat (limited to 'source/luametatex/source/lua/lmttexlib.h')
-rw-r--r-- | source/luametatex/source/lua/lmttexlib.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source/luametatex/source/lua/lmttexlib.h b/source/luametatex/source/lua/lmttexlib.h new file mode 100644 index 000000000..b0033535a --- /dev/null +++ b/source/luametatex/source/lua/lmttexlib.h @@ -0,0 +1,29 @@ +/* + See license.txt in the root of this project. +*/ + +# ifndef LMT_LTEXLIB_H +# define LMT_LTEXLIB_H + +extern void lmt_cstring_start (void); +extern void lmt_cstring_close (void); +extern int lmt_cstring_input (halfword *n, int *cattable, int *partial, int *finalline); + +extern void lmt_cstring_print (int cattable, const char *s, int ispartial); +extern void lmt_tstring_store (strnumber s, int cattable); +extern void lmt_cstring_store (char *s, int l, int cattable); + +extern int lmt_check_for_flags (lua_State *L, int slot, int *flags, int prefixes, int numeric); /* returns slot */ +extern int lmt_check_for_level (lua_State *L, int slot, quarterword *level, quarterword defaultlevel); /* returns slot */ + +extern int lmt_get_box_id (lua_State *L, int slot, int report); + +/*tex + In the meantime keys are sequential so we can replace values by keys especially when the type + field is used. +*/ + +extern int lmt_push_info_values (lua_State *L, value_info *values); +extern int lmt_push_info_keys (lua_State *L, value_info *values); + +# endif |