LuaYard/LuaCommon.h
2019-08-18 02:01:00 +08:00

7 lines
270 B
C++

#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*>());