lmttexlib.h /size: 1086 b    last modification: 2024-01-16 10:22
1/*
2    See license.txt in the root of this project.
3*/
4
5# ifndef LMT_LTEXLIB_H
6# define LMT_LTEXLIB_H
7
8extern void lmt_cstring_start    (void);
9extern void lmt_cstring_close    (void);
10extern int  lmt_cstring_input    (halfword *result, int *cattable, int *partial, int *finalline);
11
12extern void lmt_cstring_print    (int cattable, const char *s, int ispartial);
13extern void lmt_tstring_store    (strnumber s, int cattable);
14extern void lmt_cstring_store    (char *s, int l, int cattable);
15
16extern int  lmt_check_for_flags  (lua_State *L, int slot, int *flags, int prefixes, int numeric);        /* returns slot */
17extern int  lmt_check_for_level  (lua_State *L, int slot, quarterword *level, quarterword defaultlevel); /* returns slot */
18
19extern int  lmt_get_box_id       (lua_State *L, int slot, int report);
20
21/*tex
22    In the meantime keys are sequential so we can replace values by keys especially when the type
23    field is used.
24*/
25
26extern int  lmt_push_info_values (lua_State *L, value_info *values);
27extern int  lmt_push_info_keys   (lua_State *L, value_info *values);
28
29# endif
30