void Push(lua_State* L, int (*value)(LuaState*))
	{
		LuaState* state = LuaState::CastState(L);
		state->PushCClosure(value, 0);
	}
Beispiel #2
0
	void Push(lua_State* L, int (*value)(LuaState*))
	{
		LuaState* state = lua_State_To_LuaState(L);
		state->PushCClosure(value, 0);
	}