aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/embed/path.lua.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-23 12:23:58 +0800
committerchai <chaifix@163.com>2018-10-23 12:23:58 +0800
commit40fc27154fe754181934dc7ee31375e6bdfb33fc (patch)
tree897ad98d759bc308ef66561181ba88b85f2ccd47 /src/lua/modules/embed/path.lua.h
parent1480c9445100075c9e1a894eb07c0ef727b509a1 (diff)
*merge from minimal
Diffstat (limited to 'src/lua/modules/embed/path.lua.h')
-rw-r--r--src/lua/modules/embed/path.lua.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lua/modules/embed/path.lua.h b/src/lua/modules/embed/path.lua.h
deleted file mode 100644
index 648adf8..0000000
--- a/src/lua/modules/embed/path.lua.h
+++ /dev/null
@@ -1,14 +0,0 @@
-/* path.lua */
-static const char* path_lua = R"(
-jin.path = jin.path or {}
-
--- game root directory
-jin._root = nil
-
--- return full path of a given path
-function jin.path.full(path)
- local root = jin._dir .. '/' .. jin._argv[2]
- return root .. '/' .. path
-end
-
-)"; \ No newline at end of file