aboutsummaryrefslogtreecommitdiff
path: root/src/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/io.h b/src/io.h
new file mode 100644
index 0000000..ccfe5cc
--- /dev/null
+++ b/src/io.h
@@ -0,0 +1,8 @@
+#include "lua.h"
+
+int l_readfile(lua_State*);
+
+static const luaL_Reg io_function_list [] = {
+ {"readfile",l_readfile},
+ {NULL,NULL}
+};