diff options
Diffstat (limited to 'source/libs/asura-lib-utils/scripting/portable.hpp')
-rw-r--r-- | source/libs/asura-lib-utils/scripting/portable.hpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/libs/asura-lib-utils/scripting/portable.hpp b/source/libs/asura-lib-utils/scripting/portable.hpp new file mode 100644 index 0000000..7f780d1 --- /dev/null +++ b/source/libs/asura-lib-utils/scripting/portable.hpp @@ -0,0 +1,22 @@ +#ifndef __ASURA_ENGINE_PORTABLE_H__ +#define __ASURA_ENGINE_PORTABLE_H__ + +#include "../type.h" + +#include "Luax.hpp" + +namespace AsuraEngine +{ + namespace Scripting + { + + /// + /// ҪעluanativeҪ̳дģ塣 + /// + template<typename T> + using Portable = Luax::LuaxNativeClass<T>; + + } +} + +#endif
\ No newline at end of file |