summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_libs.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-19 23:07:07 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-19 23:11:43 +0200
commit99551ab330ffd7037891fffc159708298159a432 (patch)
treebd398f2c5fb3223f3c3651a9508adbd230ef82fb /crawl-ref/source/l_libs.h
parent5bb58a2e08721ad69df30f5b10af6fef46a4b0d3 (diff)
downloadcrawl-ref-99551ab330ffd7037891fffc159708298159a432.tar.gz
crawl-ref-99551ab330ffd7037891fffc159708298159a432.zip
Split file_lib out.
Move lua library headers to separate l_libs.h, fixing another compilation error...
Diffstat (limited to 'crawl-ref/source/l_libs.h')
-rw-r--r--crawl-ref/source/l_libs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/l_libs.h b/crawl-ref/source/l_libs.h
new file mode 100644
index 0000000000..a0e926d177
--- /dev/null
+++ b/crawl-ref/source/l_libs.h
@@ -0,0 +1,12 @@
+#include "clua.h"
+
+extern const struct luaL_reg crawl_lib[];
+extern const struct luaL_reg dgn_lib[];
+extern const struct luaL_reg file_lib[];
+extern const struct luaL_reg los_lib[];
+
+void luaopen_ray(lua_State *ls);
+
+void register_mapdef_tables(lua_State *ls);
+
+