aboutsummaryrefslogtreecommitdiff
path: root/src/lua/embed/path.lua.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-05-17 19:10:57 +0800
committerchai <chaifix@163.com>2018-05-17 19:10:57 +0800
commit70cdd89e887641b7423e5d4d05928d14ee014aba (patch)
tree248b87ae35197a9e5941e65ef20eea359e87a5ed /src/lua/embed/path.lua.h
parentdf4b054b8e8d00f7817daaa4cbf6961712cd0b75 (diff)
change file tree
Diffstat (limited to 'src/lua/embed/path.lua.h')
-rw-r--r--src/lua/embed/path.lua.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/lua/embed/path.lua.h b/src/lua/embed/path.lua.h
deleted file mode 100644
index 3ebeab1..0000000
--- a/src/lua/embed/path.lua.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* path.lua */
-static const char* path_lua = R"(
---[[
- jin.path extension
-]]
-
-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
-
-
-)";