diff options
author | chai <chaifix@163.com> | 2019-07-31 21:35:12 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-07-31 21:35:12 +0800 |
commit | 084623519e95f0ab0cf4bc328b5fa736d679c5bd (patch) | |
tree | 9d409dceda50335e9fb881fc5107c9c1c561f988 /source/modules/asura-utils/scripting/portable.hpp | |
parent | 012a44bd13ab41d056e7d3884a39027b6cea62b5 (diff) |
*修改名称空间风格
Diffstat (limited to 'source/modules/asura-utils/scripting/portable.hpp')
-rw-r--r-- | source/modules/asura-utils/scripting/portable.hpp | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/source/modules/asura-utils/scripting/portable.hpp b/source/modules/asura-utils/scripting/portable.hpp index 2716da4..d691455 100644 --- a/source/modules/asura-utils/scripting/portable.hpp +++ b/source/modules/asura-utils/scripting/portable.hpp @@ -12,22 +12,18 @@ extern "C" { namespace AsuraEngine { - namespace Scripting - { - - /// - /// ҪΪ࣬userdatamember ref̳д࣬ע̳С - /// - using Object = Luax::LuaxObject; - - /// - /// ҪעluanativeҪ̳дģ塣BASEָ࣬ĬLuaxObjectָ - /// LuaxObjectࡢ - /// - template<typename TYPE, typename BASE = Luax::LuaxObject> - using Portable = Luax::LuaxNativeClass<TYPE, BASE>; - - } +namespace Scripting +{ + + +/// ҪΪ࣬userdatamember ref̳д࣬ע̳С +using Object = Luax::LuaxObject; + +/// ҪעluanativeҪ̳дģ塣BASEָ࣬ĬLuaxObjectָLuaxObjectࡢ +template<typename TYPE, typename BASE = Luax::LuaxObject> +using Portable = Luax::LuaxNativeClass<TYPE, BASE>; + +} } namespace AEScripting = AsuraEngine::Scripting; |