diff options
author | chai <chaifix@163.com> | 2019-03-14 23:12:54 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-14 23:12:54 +0800 |
commit | 8644e03586ac9c39741f62cbcbce87b18805538c (patch) | |
tree | 72021765f5262b7f2f7eebe299fd4e1aaa7c89b7 /Source/Asura.Engine/scripting | |
parent | 8d8c4ff1664625e7428d0d31cd798d9321680cb2 (diff) |
*大小写
Diffstat (limited to 'Source/Asura.Engine/scripting')
-rw-r--r-- | Source/Asura.Engine/scripting/luax.hpp | 18 | ||||
-rw-r--r-- | Source/Asura.Engine/scripting/portable.cpp | 9 | ||||
-rw-r--r-- | Source/Asura.Engine/scripting/portable.h | 19 | ||||
-rw-r--r-- | Source/Asura.Engine/scripting/type.h | 17 |
4 files changed, 63 insertions, 0 deletions
diff --git a/Source/Asura.Engine/scripting/luax.hpp b/Source/Asura.Engine/scripting/luax.hpp new file mode 100644 index 0000000..2bb1160 --- /dev/null +++ b/Source/Asura.Engine/scripting/luax.hpp @@ -0,0 +1,18 @@ +#ifndef __ASURA_ENGINE_LUAX_H__ +#define __ASURA_ENGINE_LUAX_H__ + +/// +/// Scripting with Lua. +/// +extern "C" { +#include "Lua51/lua.h" +#include "Lua51/lauxlib.h" +} +#include "Luax/luax.h" + +/// +/// ¶luapoartable +/// +#include "Portable.h" + +#endif
\ No newline at end of file diff --git a/Source/Asura.Engine/scripting/portable.cpp b/Source/Asura.Engine/scripting/portable.cpp new file mode 100644 index 0000000..0aa5f08 --- /dev/null +++ b/Source/Asura.Engine/scripting/portable.cpp @@ -0,0 +1,9 @@ +#include "Portable.h" + +namespace AsuraEngine +{ + namespace Scripting + { + + } +} diff --git a/Source/Asura.Engine/scripting/portable.h b/Source/Asura.Engine/scripting/portable.h new file mode 100644 index 0000000..0527308 --- /dev/null +++ b/Source/Asura.Engine/scripting/portable.h @@ -0,0 +1,19 @@ +#ifndef __ASURA_ENGINE_PORTABLE_H__ +#define __ASURA_ENGINE_PORTABLE_H__ + +#include "Luax.hpp" +#include "Config.h" +#include "Type.h" + +namespace AsuraEngine +{ + namespace Scripting + { + + template<typename T> + using Portable = Luax::LuaxClass<T>; + + } +} + +#endif
\ No newline at end of file diff --git a/Source/Asura.Engine/scripting/type.h b/Source/Asura.Engine/scripting/type.h new file mode 100644 index 0000000..0665810 --- /dev/null +++ b/Source/Asura.Engine/scripting/type.h @@ -0,0 +1,17 @@ +#ifndef __ASURA_SCRIPTING_TYPE_H__ +#define __ASURA_SCRIPTING_TYPE_H__ + +namespace AsuraEngine +{ + namespace Scripting + { + + class Type + { + + }; + + } +} + +#endif
\ No newline at end of file |