aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/lx/lxlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysbin/lx/lxlib.h')
-rw-r--r--src/sysbin/lx/lxlib.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/sysbin/lx/lxlib.h b/src/sysbin/lx/lxlib.h
new file mode 100644
index 0000000..e65ab6f
--- /dev/null
+++ b/src/sysbin/lx/lxlib.h
@@ -0,0 +1,15 @@
+/*
+** Lua eXtended libraries
+*/
+#pragma once
+
+#include <lua/lua.h>
+
+
+#define LX_SYSLIBNAME "lx.sys"
+LUAMOD_API int (lx_open_sys) (lua_State *L);
+
+
+/* open all previous libraries */
+LUALIB_API void (lx_openlibs) (lua_State *L);
+