summaryrefslogtreecommitdiff
path: root/source/modules/asura-utils/scripting/portable.hpp
blob: 5badf8dfec7a2180ec2153d1189de99152c6acfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __ASURA_ENGINE_PORTABLE_H__
#define __ASURA_ENGINE_PORTABLE_H__

#include "../type.h"

#include "lua_env.h"

namespace AsuraEngine
{
	namespace Scripting
	{

		///
		/// ҪעluanativeҪ̳дģ塣
		///
		template<typename T> 
		using Portable = Luax::LuaxNativeClass<T>;

		///
		/// ҪΪ࣬userdatamember ref̳д࣬ע̳С
		///
		using NativeAccessor = Luax::ILuaxNativeAccessor;

	}
}

namespace AEScripting = AsuraEngine::Scripting;

#endif