* @see FLuaMap::Clear(...) */
| 227 | * @see FLuaMap::Clear(...) |
| 228 | */ |
| 229 | static int32 TMap_Clear(lua_State* L) |
| 230 | { |
| 231 | int32 NumParams = lua_gettop(L); |
| 232 | if (NumParams != 1) |
| 233 | return luaL_error(L, "invalid parameters"); |
| 234 | |
| 235 | FLuaMap* Map = (FLuaMap*)(GetCppInstanceFast(L, 1)); |
| 236 | TMap_Guard(L, Map); |
| 237 | |
| 238 | Map->Clear(); |
| 239 | return 0; |
| 240 | } |
| 241 | |
| 242 | /** |
| 243 | * @see FLuaMap::Keys(...) |
nothing calls this directly
no test coverage detected