summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linit.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/linit.c b/linit.c
new file mode 100644
index 00000000..4759d49a
--- /dev/null
+++ b/linit.c
@@ -0,0 +1,17 @@
+/*
+** $Id: linit.c,v 1.1 1999/01/08 16:47:44 roberto Exp $
+** Initialization of libraries for lua.c
+** See Copyright Notice in lua.h
+*/
+
+#include "lua.h"
+#include "lualib.h"
+
+
+void lua_userinit (void) {
+ lua_iolibopen();
+ lua_strlibopen();
+ lua_mathlibopen();
+ lua_dblibopen();
+}
+