From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RavMT-0006r0-6u for qemu-devel@nongnu.org; Wed, 14 Dec 2011 15:23:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RavMR-0006Df-Ss for qemu-devel@nongnu.org; Wed, 14 Dec 2011 15:23:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RavMR-00067t-M4 for qemu-devel@nongnu.org; Wed, 14 Dec 2011 15:23:31 -0500 Message-ID: <4EE905BC.8000203@redhat.com> Date: Wed, 14 Dec 2011 13:23:24 -0700 From: Eric Blake MIME-Version: 1.0 References: <1323879637-16901-1-git-send-email-aliguori@us.ibm.com> <1323879637-16901-2-git-send-email-aliguori@us.ibm.com> <4EE8F0D4.3050300@weilnetz.de> In-Reply-To: <4EE8F0D4.3050300@weilnetz.de> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig46DCEC09CBE844ED308325F6" Subject: Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Anthony Liguori , qemu-devel@nongnu.org, Avi Kivity This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig46DCEC09CBE844ED308325F6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/14/2011 11:54 AM, Stefan Weil wrote: >> It does violate the standard _ followed by upper case letter is reserv= ed >> in all contexts. >=20 > sCamelCase instead of _CamelCase seems to work, too. What about _camelCase instead of _CamelCase? That preserves the leading underscore, but no longer uses the reserved _ followed by a capital. At any rate, that's the convention libvirt is using; all public structs are prefixed with vir, so things like: typedef struct _virConnect virConnect; are both parseable by gtkdocs as well as C standard compliant. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enig46DCEC09CBE844ED308325F6 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.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJO6QW8AAoJEKeha0olJ0NqrloIAJanj3sROTYg0TuCgyOTydzE QAHahARnSo40vE1IhMzrfvJj2jdYiBIfVhj4hXXu3LZGbznS+pOiwPl40q64qa0i hcfuvHmm4H9nGPd1aEWg473iQI5ZFoB2kYRJ0FAsaABrxJHOeI0hU3jB7s88scGr yLewudzWiLqg0281ssi5MZKgG4NeOx+NwUyN3IVO6ZH8II3FAHVZIfAi10bwMC+B FRBeGauUckrV3ahD69C8sGg0JXiiZz8EPyVoqmGtuKfzmpfK/HYhUoVOH56ugEp1 2XJ8XUN4882HqP2qCMoku75UZnxyYZ4aMRMZWfWezqZDnq4ToQ1Ltco7Sd2t+yc= =+Lrg -----END PGP SIGNATURE----- --------------enig46DCEC09CBE844ED308325F6--