summaryrefslogtreecommitdiff
path: root/source/luametatex/source/lua/lmtlualib.h
blob: 88ae5ae38b9a8c20e0755598b9cefd95ae4d1556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
    See license.txt in the root of this project.
*/

# ifndef LMT_LLUALIB_H
# define LMT_LLUALIB_H

/*tex

    We started with multiple instances but that made no sense as dealing with isolated instances
    and talking to \TEX\ also means that one then has to have a channel between instances. and it's
    not worth the trouble. So we went for one instance.

    This also means that the names related to directlua instances have been removed in the follow
    up.

*/

extern void lmt_dump_registers       (dumpstream f);
extern void lmt_undump_registers     (dumpstream f);
extern void lmt_bytecode_call        (int slot);

extern void lmt_initialize_functions (int set_size);

# endif