aboutsummaryrefslogtreecommitdiff
path: root/src/lib/lua/luaconf.h
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2017-04-19 12:13:30 +0200
committerAlex Auvolat <alex@adnab.me>2017-04-19 12:13:30 +0200
commitd4a89538d381bb62b4c7c864b09d3d8274cf0bdb (patch)
treedb9f4e0066eddd7661eaf92375e84d584c64d987 /src/lib/lua/luaconf.h
parent8e88e765ee17296a85c5ae372471ed248ce321db (diff)
downloadkogata-d4a89538d381bb62b4c7c864b09d3d8274cf0bdb.tar.gz
kogata-d4a89538d381bb62b4c7c864b09d3d8274cf0bdb.zip
First code for lx (Lua eXtended)
Diffstat (limited to 'src/lib/lua/luaconf.h')
-rw-r--r--src/lib/lua/luaconf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/lua/luaconf.h b/src/lib/lua/luaconf.h
index 22418f3..c0cfb0f 100644
--- a/src/lib/lua/luaconf.h
+++ b/src/lib/lua/luaconf.h
@@ -174,8 +174,10 @@
** non-conventional directories.
*/
#define LUA_ROOT "sys:/lua/"
+#define LUA_APPROOT "app:/"
#define LUA_PATH_DEFAULT \
LUA_ROOT"?.lua;" LUA_ROOT"?/init.lua;" \
+ LUA_APPROOT"?.lua;" LUA_APPROOT"?/init.lua;" \
"./?.lua;" "./?/init.lua"
#define LUA_CPATH_DEFAULT \
LUA_ROOT"?.so;" "./?.so"