[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan |
Date: |
Wed, 14 Dec 2011 13:23:24 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 |
On 12/14/2011 11:54 AM, Stefan Weil wrote:
>> It does violate the standard _ followed by upper case letter is reserved
>> in all contexts.
>
> 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.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, (continued)
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, Stefan Weil, 2011/12/14
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, Anthony Liguori, 2011/12/14
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, Stefan Weil, 2011/12/14
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, Anthony Liguori, 2011/12/14
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, Stefan Weil, 2011/12/14
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, Anthony Liguori, 2011/12/14
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, Stefan Weil, 2011/12/14
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, Anthony Liguori, 2011/12/14
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan,
Eric Blake <=
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, malc, 2011/12/14
- Re: [Qemu-devel] [PATCH 1/4] memory: make memory API parsable by gtkdoc-scan, Anthony Liguori, 2011/12/14
[Qemu-devel] [PATCH 4/4] memory: move header into include/ and add to QEMU docs, Anthony Liguori, 2011/12/14