aboutsummaryrefslogtreecommitdiffstats
path: root/src/scanner.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2012-07-23 19:54:41 +0100
committerKristian Høgsberg <krh@bitplanet.net>2012-07-23 20:16:57 -0400
commitdb0add6d5e23deac53c834f73d5e56180600cead (patch)
tree11b872eaaad1c99c168ebf26e8f0e0cbc6444c20 /src/scanner.c
parentUnstatic arg_count_for_signature and get_next_argument (diff)
downloadwayland-db0add6d5e23deac53c834f73d5e56180600cead.tar
wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar.gz
wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar.bz2
wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar.lz
wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar.xz
wayland-db0add6d5e23deac53c834f73d5e56180600cead.tar.zst
wayland-db0add6d5e23deac53c834f73d5e56180600cead.zip
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>
Diffstat (limited to 'src/scanner.c')
-rw-r--r--src/scanner.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scanner.c b/src/scanner.c
index 50e26c1..0fc26e7 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -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: