summaryrefslogtreecommitdiff
path: root/source/luametatex/source/lua/lmtlualib.h
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-09-16 15:53:42 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-09-16 15:53:42 +0200
commitc161b7d6fe142231346cc1844e6e27c0ab7718c1 (patch)
tree3fd877b8986137703e987e4651a2db8e946a0f72 /source/luametatex/source/lua/lmtlualib.h
parente94fa4dc30ec28a6727aa85e17aaac18b76aeadb (diff)
downloadcontext-c161b7d6fe142231346cc1844e6e27c0ab7718c1.tar.gz
2022-09-16 14:41:00
Diffstat (limited to 'source/luametatex/source/lua/lmtlualib.h')
-rw-r--r--source/luametatex/source/lua/lmtlualib.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/source/luametatex/source/lua/lmtlualib.h b/source/luametatex/source/lua/lmtlualib.h
new file mode 100644
index 000000000..88ae5ae38
--- /dev/null
+++ b/source/luametatex/source/lua/lmtlualib.h
@@ -0,0 +1,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