| 17 | #include "Containers/LuaSet.h" |
| 18 | |
| 19 | static FORCEINLINE void TSet_Guard(lua_State* L, FLuaSet* Set) |
| 20 | { |
| 21 | if (!Set) |
| 22 | luaL_error(L, "invalid TSet"); |
| 23 | |
| 24 | if (!Set->ElementInterface->IsValid()) |
| 25 | luaL_error(L, TCHAR_TO_UTF8(*FString::Printf(TEXT("invalid TSet element type:%s"), *Set->ElementInterface->GetName()))); |
| 26 | } |
| 27 | |
| 28 | static int32 TSet_New(lua_State* L) |
| 29 | { |
no test coverage detected