Markus Armbruster a7c3181628 qobject: Clean up around qtype_code
QTYPE_NONE is a sentinel value.  No QObject has this type code.
Document it properly.

Fix dump_qobject() to abort() on QTYPE_NONE, just like for any other
invalid type code.

Fix to_json() to abort() on all invalid type codes, not just
QTYPE_MAX.

Clean up Property member qtype's type: it's a qtype_code.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2015-05-11 08:59:07 -04:00
..
2015-03-08 11:51:46 +01:00
2015-04-13 11:37:10 +01:00
2013-06-07 14:55:33 +02:00
2013-12-24 18:02:18 +01:00
2014-02-03 14:04:00 +00:00
2014-02-26 17:20:00 +00:00
2015-03-01 12:33:22 +01:00
2015-04-28 15:36:08 +02:00
2015-04-30 16:05:48 +03:00
2015-03-09 15:00:08 +01:00
2015-01-12 10:14:04 +01:00
2015-03-10 08:15:33 +03:00
2015-01-15 10:44:13 +03:00
2014-10-23 16:41:25 +02:00
2014-10-24 12:19:11 +01:00
2014-05-28 17:36:21 +02:00
2013-05-01 20:55:21 +04:00
2014-11-11 14:50:10 +00:00
2015-04-30 16:05:48 +03:00