You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See above. Those could implement all kinds of conversions to the actual Rust types, e.g. via Iterator::collect() for arrays, but use the GLib allocator for memory management.
These could be used for the "transfer full" return values (and out parameters) everywhere at least.
For "transfer none" we could at least automatically support 'static references. Non-static borrowing requires a lot of knowledge of the API and is better implemented manually.
The text was updated successfully, but these errors were encountered:
For arrays (including string arrays) and lists there are container types now. As mentioned above, the others are unfortunately hard to deal with and better handled by copying and on a case-by-case basis.
See above. Those could implement all kinds of conversions to the actual Rust types, e.g. via Iterator::collect() for arrays, but use the GLib allocator for memory management.
These could be used for the "transfer full" return values (and out parameters) everywhere at least.
For "transfer none" we could at least automatically support 'static references. Non-static borrowing requires a lot of knowledge of the API and is better implemented manually.
The text was updated successfully, but these errors were encountered: