* @see FLuaMap::Keys(...) */
| 243 | * @see FLuaMap::Keys(...) |
| 244 | */ |
| 245 | static int32 TMap_Keys(lua_State* L) |
| 246 | { |
| 247 | int32 NumParams = lua_gettop(L); |
| 248 | if (NumParams != 1) |
| 249 | return luaL_error(L, "invalid parameters"); |
| 250 | |
| 251 | FLuaMap* Map = (FLuaMap*)(GetCppInstanceFast(L, 1)); |
| 252 | TMap_Guard(L, Map); |
| 253 | |
| 254 | void* Userdata = NewUserdataWithPadding(L, sizeof(FLuaArray), "TArray"); |
| 255 | FLuaArray* Array = Map->Keys(Userdata); |
| 256 | return 1; |
| 257 | } |
| 258 | |
| 259 | /** |
| 260 | * @see FLuaMap::Values(...) |
nothing calls this directly
no test coverage detected