diff options
author | chai <chaifix@163.com> | 2018-10-20 15:50:06 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-10-20 15:50:06 +0800 |
commit | e9410bd371fc68169c57d2c52382948a0b083da4 (patch) | |
tree | d8f7e600b4ffd6a5c4c9a30f68f9ee74b8491c3b /src/lua/modules/filesystem/filesystem.cpp | |
parent | 58ad98213763348b49d8313675203b287a5442bb (diff) |
*修改名称空间
Diffstat (limited to 'src/lua/modules/filesystem/filesystem.cpp')
-rw-r--r-- | src/lua/modules/filesystem/filesystem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lua/modules/filesystem/filesystem.cpp b/src/lua/modules/filesystem/filesystem.cpp index e388ae1..3cb413f 100644 --- a/src/lua/modules/filesystem/filesystem.cpp +++ b/src/lua/modules/filesystem/filesystem.cpp @@ -2,7 +2,7 @@ #include "libjin/jin.h" #include <string> -using namespace jin::filesystem; +using namespace JinEngine::Filesystem; namespace jin { @@ -11,12 +11,12 @@ namespace lua static struct { - Filesystem* fs; + AssetDatabase* fs; } context; static int l_init(lua_State* L) { - context.fs = Filesystem::get(); + context.fs = AssetDatabase::get(); return 0; } @@ -109,7 +109,7 @@ namespace lua static int l_read(lua_State* L) { - Filesystem* fs = context.fs; + AssetDatabase* fs = context.fs; const char* file = luax_checkstring(L, 1); unsigned int len; Buffer buffer; |