diff options
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; |