From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avrDN-0007UY-9Z for qemu-devel@nongnu.org; Thu, 28 Apr 2016 15:03:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avrDI-000352-VN for qemu-devel@nongnu.org; Thu, 28 Apr 2016 15:03:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avrDI-00034y-QE for qemu-devel@nongnu.org; Thu, 28 Apr 2016 15:03:00 -0400 References: <1461801715-24307-1-git-send-email-eblake@redhat.com> <1461801715-24307-13-git-send-email-eblake@redhat.com> <87mvodheu6.fsf@dusky.pond.sub.org> From: Eric Blake Message-ID: <57225E63.1090201@redhat.com> Date: Thu, 28 Apr 2016 13:02:59 -0600 MIME-Version: 1.0 In-Reply-To: <87mvodheu6.fsf@dusky.pond.sub.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="B1NxV549KrQIEktbDWGS89vtWIsONKIpD" Subject: Re: [Qemu-devel] [PATCH v15 12/23] qapi: Document visitor interfaces, add assertions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: qemu-devel@nongnu.org, Michael Roth This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --B1NxV549KrQIEktbDWGS89vtWIsONKIpD Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/28/2016 10:34 AM, Markus Armbruster wrote: >> +/* >> + * Visit a number (i.e. double) value. >> + * >> + * @name expresses the relationship of this number to its parent >> + * container; see the general description of @name above. >> + * >> + * @obj must be non-NULL. Input visitors set *@obj to the value; >> + * other visitors will leave *@obj unchanged. Visitors should >> + * document if infinity or NaN are not permitted. >=20 > Do we have such visitors? Not at the moment, although qmp-output-visitor produces invalid JSON as a result. I've got a pending series that adds a json-output-visitor, and that one explicitly produces an error on infinity or NaN. https://lists.gnu.org/archive/html/qemu-devel/2015-12/msg03937.html --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --B1NxV549KrQIEktbDWGS89vtWIsONKIpD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXIl5jAAoJEKeha0olJ0NqNtAIAJOv20LEAtHr5QfEyO/MYrvC YLOzjxeNaYACcilxPmzVhPm7WVPoBeYxcgkHv4NdSlRPtKrGo626ablb0uNSL1fJ ULlOug1MZY8ID1Yk3c5rKzH2pliEC/Y7p79lGkaXtboOaVVuLpVvDZcJybCf7K9r ubgTu9gxFkNcKM+aQbn6UBqrTfwC+z1RnzW6H6/UOTul/TSvcOqFTTaxcmByV0/J seOmI9wsFc9etSJ+fkKc7hIrn+kQk+ACFxJjz1+EXhFdRc0LJ9IC8jdxGwSqtDJv eQX3e3QJizu08+RKBR6VJgOHprKEBeaVH/+xydsyKZvFfCZOZQjVNoIhOBdPwrc= =nJXs -----END PGP SIGNATURE----- --B1NxV549KrQIEktbDWGS89vtWIsONKIpD--