| 236 | } |
| 237 | |
| 238 | bool Anon_obj::__Remove(String inKey) |
| 239 | { |
| 240 | int slot = findFixed(inKey); |
| 241 | if (slot>=0) |
| 242 | { |
| 243 | VariantKey *fixed = getFixed(); |
| 244 | while(slot<mFixedFields) |
| 245 | { |
| 246 | fixed[slot] = fixed[slot+1]; |
| 247 | slot++; |
| 248 | } |
| 249 | mFixedFields--; |
| 250 | return true; |
| 251 | } |
| 252 | |
| 253 | if (!mFields.mPtr) |
| 254 | return false; |
| 255 | return __string_hash_remove(mFields,inKey); |
| 256 | } |
| 257 | |
| 258 | |
| 259 | hx::Val Anon_obj::__SetField(const String &inName,const hx::Val &inValue, hx::PropertyAccess inCallProp) |
no test coverage detected