LuaYard/LuaCommon.h

7 lines
270 B
C
Raw Normal View History

2019-08-18 02:00:57 +08:00
#pragma once
#include "LuaVM.h"
#include <vector>
bool LuaCompareType(lua_State* L, int index, const char* type, bool leave = false);
void check(lua_State* L, const std::vector<int>& typearr, const std::vector<const char*>& userdata_type = std::vector<const char*>());