diff options
Diffstat (limited to 'source/modules/asura-utils/Scripting/Portable.hpp')
-rw-r--r-- | source/modules/asura-utils/Scripting/Portable.hpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/source/modules/asura-utils/Scripting/Portable.hpp b/source/modules/asura-utils/Scripting/Portable.hpp deleted file mode 100644 index 1eee123..0000000 --- a/source/modules/asura-utils/Scripting/Portable.hpp +++ /dev/null @@ -1,31 +0,0 @@ -#ifndef _ASURA_ENGINE_PORTABLE_H_ -#define _ASURA_ENGINE_PORTABLE_H_ - -extern "C" { -#include <lua51/lua.h> -#include <lua51/lualib.h> -#include <lua51/lauxlib.h> -} - -#include <luax/luax.h> - -#include "../Type.h" -#include "../Classes.h" - -namespace_begin(AsuraEngine) -namespace_begin(Scripting) - - -/// ��Ҫ��Ϊ���࣬����userdata��member ref����̳д��࣬ע���������̳С� -using Object = Luax::LuaxObject; - -/// Ҫע���lua��native����Ҫ�̳д�ģ�塣BASEָ�����࣬Ĭ����LuaxObject�����ָ�����������LuaxObject�������ࡢ -template<typename TYPE, typename BASE = Luax::LuaxObject> -using Portable = Luax::LuaxNativeClass<TYPE, BASE>; - -namespace_end -namespace_end - -namespace AEScripting = AsuraEngine::Scripting; - -#endif
\ No newline at end of file |