private bool Advance(ref FLDictIterator i) { fixed(FLDictIterator *i2 = &i) { return(Native.FLDictIterator_Next(i2)); } }
private KeyValuePair <string, MValue> Get(FLDictIterator i) { if (_dict == null || Native.FLDict_Count(_dict) == 0U) { return(new KeyValuePair <string, MValue>()); } var key = Native.FLDictIterator_GetKeyString(&i); if (key == null) { return(new KeyValuePair <string, MValue>()); } var value = Native.FLDictIterator_GetValue(&i); return(new KeyValuePair <string, MValue>(key, new MValue(value))); }