From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR1lS-0000QD-4r for qemu-devel@nongnu.org; Tue, 01 Oct 2013 11:21:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VR1lN-0008Ek-Bo for qemu-devel@nongnu.org; Tue, 01 Oct 2013 11:21:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:27147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR1lN-0008DP-1Z for qemu-devel@nongnu.org; Tue, 01 Oct 2013 11:21:25 -0400 Message-ID: <524AE86E.8010404@redhat.com> Date: Tue, 01 Oct 2013 09:21:18 -0600 From: Eric Blake MIME-Version: 1.0 References: <1380633619-12213-1-git-send-email-kwolf@redhat.com> <1380633619-12213-3-git-send-email-kwolf@redhat.com> In-Reply-To: <1380633619-12213-3-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="alxrRU5ggULvR0hlK4q42QTHa9ckbiWjc" Subject: Re: [Qemu-devel] [PATCH v2 02/17] qapi-types/visit.py: Inheritance for structs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: benoit.canet@irqsave.net, armbru@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com, stefanha@redhat.com, xiawenc@linux.vnet.ibm.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --alxrRU5ggULvR0hlK4q42QTHa9ckbiWjc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 10/01/2013 07:20 AM, Kevin Wolf wrote: > This introduces a new 'base' key for struct definitions that refers to > another struct type. On the JSON level, the fields of the base type are= > included directly into the same namespace as the fields of the defined > type, like with unions. On the C level, a pointer to a struct of the > base type is included. >=20 > Signed-off-by: Kevin Wolf > --- > docs/qapi-code-gen.txt | 17 +++++++++++++++++ > scripts/qapi-types.py | 4 ++++ > scripts/qapi-visit.py | 18 ++++++++++++++++-- > 3 files changed, 37 insertions(+), 2 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --alxrRU5ggULvR0hlK4q42QTHa9ckbiWjc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJSSuhuAAoJEKeha0olJ0Nq1HkH/2VUbt+AeTex0xrUz+OVVU94 IwZLFD4glVI8kA1M12bG0CU5dfaeLX8SxNRcMJEMsmUrcDuemKhUtAUz9qre6jss bxrPAUPH+xZHPzgMTVa7f/rFIk3k9bNHuuCdRFtzw8rLfPHkW5+mCNZx2YYLxvVs xHjPD5f2GLNNiRQcNClzJTfGy7Oifsz7GfW8AQKcEafOZKFfQtVyY1nkWIzNxM9M LSMrLaIe1iBGYtipBpRJ344W4atFsFgJZlS7F/Mx/KN80yErFIl4hoPzn+4HbaW2 IaXXYRPKFt/wtTfwQLnboNgM537KHCDJJbBUt1r+MzWRImYT9PZoCdBla8Gc7qk= =zhjQ -----END PGP SIGNATURE----- --alxrRU5ggULvR0hlK4q42QTHa9ckbiWjc--