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
Currently if multiple versions of the gio crate are linked in, e.g. gio::ReadInputStream could be registered multiple times with the same GType name. The second one would fail with a panic.
Instead it would be useful if it could simply use ReadInputStream-1 or ReadInputStream-N as type name, i.e. count until it finds a name that is not used yet.
This has to be opt-in because in other cases the GType name is part of the API and you actually don't want this behaviour.
This applies to GObjects, boxed types, enums/flags, etc.