[Cogl] [PATCH 1/2] context: glib-mkenums chokes on /*< private >*/ but supports /*< skip >*/

Lespiau, Damien damien.lespiau at intel.com
Mon Oct 8 04:13:09 PDT 2012


On Sat, Oct 6, 2012 at 8:13 PM, Robert Bragg <robert at sixbynine.org> wrote:
> On Sat, Oct 6, 2012 at 1:30 AM, Damien Lespiau <damien.lespiau at gmail.com> wrote:
>> From: Damien Lespiau <damien.lespiau at intel.com>
>>
>> The private option is really part of gtk-doc, glib-mkenums does not
>> support it. Use skip instead.
>
> Don't we want both options in this case so that gtk-doc doesn't show
> the private enum either, or does gtk-doc also understand skip?

I don't think so, I believe gtk-doc will only look at the @foo in the
comments, whereas /*< private *>/ in the enum makes glib-mkenums issue
an error.

-- 
Damien


More information about the Cogl mailing list