mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-26 06:59:58 -05:00
scanner: Send interface name and version for types new_id args
This makes the scanner generate the code and meta data to send the interface name and version when we pass a typeless new_id. This way, the generic factory mechanism provided by wl_display.bind can be provided by any interface.
This commit is contained in:
parent
385fe30e8b
commit
85a6a47087
2 changed files with 48 additions and 21 deletions
|
|
@ -38,9 +38,7 @@
|
|||
the identifier.
|
||||
</description>
|
||||
<arg name="name" type="uint" summary="unique number id for object"/>
|
||||
<arg name="interface" type="string"/>
|
||||
<arg name="version" type="uint"/>
|
||||
<arg name="id" type="new_id" interface="wl_object"/>
|
||||
<arg name="id" type="new_id"/>
|
||||
</request>
|
||||
|
||||
<request name="sync">
|
||||
|
|
@ -58,7 +56,7 @@
|
|||
The error event is sent out when a fatal (non-recoverable)
|
||||
error has occurred.
|
||||
</description>
|
||||
<arg name="object_id" type="object" interface="wl_object"/>
|
||||
<arg name="object_id" type="object"/>
|
||||
<arg name="code" type="uint"/>
|
||||
<arg name="message" type="string"/>
|
||||
</event>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue