summaryrefslogtreecommitdiff
path: root/luaext/linit.c
diff options
context:
space:
mode:
Diffstat (limited to 'luaext/linit.c')
-rw-r--r--luaext/linit.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/luaext/linit.c b/luaext/linit.c
new file mode 100644
index 000000000..6f10b26fb
--- /dev/null
+++ b/luaext/linit.c
@@ -0,0 +1,9 @@
+#include "lua.h"
+#include "lauxlib.h"
+#include "linit.h"
+
+LUA_API int luaopen_init(lua_State *L)
+{
+#include "linit.lch"
+ return 0;
+}