mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
Make NEW_IDs nullable
The connection-handling code already allows this, so make it legal in the protocol definition too. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
efe23443d8
commit
db0add6d5e
3 changed files with 48 additions and 6 deletions
|
|
@ -228,6 +228,7 @@ is_nullable_type(struct arg *arg)
|
|||
/* Strings, objects, and arrays are possibly nullable */
|
||||
case STRING:
|
||||
case OBJECT:
|
||||
case NEW_ID:
|
||||
case ARRAY:
|
||||
return 1;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue