Michael Roth 4e27e819be qapi: Add Visitor interfaces for uint*_t and int*_t
This adds visitor interfaces for fixed-width integers types.
Implementing these in visitors is optional, otherwise we fall back to
visit_type_int() (int64_t) with some additional bounds checking to avoid
integer overflows for cases where the value fetched exceeds the bounds
of our target C type.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
[LE: exclude negative values in uint*_t Visitor interfaces]
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
[AF: Merged fix by Laszlo]
Signed-off-by: Andreas Färber <afaerber@suse.de>
2012-06-08 16:11:14 +02:00
..
2012-05-16 18:04:44 -03:00
2012-06-04 23:00:41 +02:00
2012-03-24 13:06:41 +00:00
2012-04-25 10:53:47 +03:00
2012-05-24 02:03:30 +04:00
2012-05-25 18:21:12 +02:00
2012-04-26 12:54:17 +04:00
2012-03-30 08:14:11 -05:00
2012-03-30 08:14:11 -05:00
2012-04-28 20:51:54 +02:00
2012-06-04 23:00:45 +02:00
2012-06-04 23:00:41 +02:00
2012-05-16 18:04:44 -03:00
2012-05-21 19:22:50 +03:00
2012-05-21 19:22:50 +03:00
2012-03-24 13:06:41 +00:00
2012-05-03 07:04:48 +02:00
2012-06-04 23:00:42 +02:00
2012-05-21 19:22:49 +03:00
2012-03-30 10:31:23 +00:00
2012-04-07 14:00:45 +00:00
2012-04-12 11:14:29 +01:00
2012-05-21 15:40:51 -05:00
2012-05-12 14:19:10 +02:00
2012-06-04 23:00:43 +02:00
2012-05-07 08:44:21 +02:00
2012-06-04 23:00:45 +02:00
2012-04-17 10:23:21 +02:00
2012-04-11 13:19:32 +03:00
2012-04-25 10:53:47 +03:00
2012-05-21 15:40:50 -05:00
2012-05-21 15:40:51 -05:00
2012-05-16 18:04:44 -03:00