Re: Language bindings for wl_registry_bind request

2020-06-18 Thread Brad Robinson
Hi Pekka, the rule is that a 'new_id' type of argument *without* an 'interface' > attribute extends to three arguments instead of one. The interface must > be known at runtime, and if the XML does not give it, then it must be > transmitted explicitly. > Great - glad to see this explicitly spelled

Re: Language bindings for wl_registry_bind request

2020-06-18 Thread Pekka Paalanen
On Thu, 18 Jun 2020 16:25:14 +1000 Brad Robinson wrote: > Hi All, > > I'm putting together a set of C# bindings for Wayland and it's coming along > nicely but I've hit an issue with wl_registry_bind where its implementation > doesn't seem to match the xml. > > The wayland.xml file declares it a

Re: Language bindings for wl_registry_bind request

2020-06-18 Thread Daniel Stone
Hi, On Thu, 18 Jun 2020 at 07:25, Brad Robinson wrote: > I'm putting together a set of C# bindings for Wayland and it's coming along > nicely but I've hit an issue with wl_registry_bind where its implementation > doesn't seem to match the xml. > > The wayland.xml file declares it as: (essential

Language bindings for wl_registry_bind request

2020-06-17 Thread Brad Robinson
Hi All, I'm putting together a set of C# bindings for Wayland and it's coming along nicely but I've hit an issue with wl_registry_bind where its implementation doesn't seem to match the xml. The wayland.xml file declares it as: (essentially one input parameter - name) Binds a new, c