Marc-André Lureau f7abe0ecd4 qapi: Change data type of the FOO_lookup generated for enum FOO
Currently, a FOO_lookup is an array of strings terminated by a NULL
sentinel.

A future patch will generate enums with "holes".  NULL-termination
will cease to work then.

To prepare for that, store the length in the FOO_lookup by wrapping it
in a struct and adding a member for the length.

The sentinel will be dropped next.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170822132255.23945-13-marcandre.lureau@redhat.com>
[Basically redone]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1503564371-26090-16-git-send-email-armbru@redhat.com>
[Rebased]
2017-09-04 13:09:13 +02:00
..
2017-07-18 11:47:57 -04:00
2016-10-26 08:29:01 -07:00
2017-06-20 14:31:31 +02:00
2017-03-01 11:51:28 +04:00
2017-03-01 11:51:28 +04:00
2017-03-01 11:51:05 +04:00
2017-03-01 11:51:04 +04:00
2017-03-01 11:51:28 +04:00
2017-08-10 14:33:43 +01:00
2017-03-01 11:51:05 +04:00
2017-03-01 11:51:05 +04:00
2017-08-14 13:06:54 +03:00
2017-05-30 16:09:48 -03:00
2017-03-01 00:09:28 +04:00
2017-03-01 00:09:28 +04:00
2017-03-01 00:09:28 +04:00
2017-03-01 11:51:25 +04:00
2017-01-10 08:49:59 -08:00
2017-07-14 11:04:34 +02:00
2017-07-11 17:44:57 +02:00
2016-11-11 20:53:23 +08:00
2017-03-01 11:51:29 +04:00