summaryrefslogtreecommitdiff
path: root/Runtime/Lua/LuaBind/LuaBindTable.h
blob: a3822d3882e433a02801873f3417f35ed72d4f5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

namespace LuaBind
{

	class State;

	// 需要作为table传给lua的结构实现这个接口
	struct INativeTable
	{
		// 将结构转换为table并留在栈顶
		virtual void CastToTable(State& state) const = 0;
	};

}