Beispiel #1
0
        internal static ObservableTuple ToManaged(ObservableTuple_StructInternal _internal_struct)
        {
            var _external_struct = new ObservableTuple();

            _external_struct.Key  = Eina.StringConversion.NativeUtf8ToManagedString(_internal_struct.Key);
            _external_struct.Data = new Eina.Iterator <Efl.Observer>(_internal_struct.Data, false, false);

            return(_external_struct);
        }
Beispiel #2
0
        internal static ObservableTuple_StructInternal ToInternal(ObservableTuple _external_struct)
        {
            var _internal_struct = new ObservableTuple_StructInternal();

            _internal_struct.Key  = Eina.MemoryNative.StrDup(_external_struct.Key);
            _internal_struct.Data = _external_struct.Data.Handle;

            return(_internal_struct);
        }