* @see FLuaSet::Clear(...) */
| 121 | * @see FLuaSet::Clear(...) |
| 122 | */ |
| 123 | static int32 TSet_Clear(lua_State* L) |
| 124 | { |
| 125 | int32 NumParams = lua_gettop(L); |
| 126 | if (NumParams != 1) |
| 127 | return luaL_error(L, "invalid parameters"); |
| 128 | |
| 129 | FLuaSet* Set = (FLuaSet*)(GetCppInstanceFast(L, 1)); |
| 130 | TSet_Guard(L, Set); |
| 131 | |
| 132 | Set->Clear(); |
| 133 | return 0; |
| 134 | } |
| 135 | |
| 136 | /** |
| 137 | * @see FLuaSet::ToArray(...) |
nothing calls this directly
no test coverage detected