Map an extra server GType to an alias already passed to register.
Does not change alias_to_gtype. The client still GLib.Object.new the stub type. Call after the typelib alias exists (usually OLLMrpc.Gi.register) and after the concrete GType is loaded ( GLib.Type.from_name). The concrete list is the consumer's (X11 vs Wayland differ).
OLLMrpc.Gi.register("Meta", "16");
OLLMrpc.Bin.register_alias("Meta-WindowActor",
GLib.Type.from_name("MetaWindowActorX11"));
| alias |
wire type name already in alias_to_gtype |
| gtype |
extra server GType that should encode as alias |
| StreamError.REGISTRATION |
unknown alias, invalid gtype, or gtype already mapped |