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

Robert Bragg robert at sixbynine.org
Sat Oct 6 12:13:57 PDT 2012


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?

regards,
- Robert

> ---
>  cogl/cogl-context.h |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/cogl/cogl-context.h b/cogl/cogl-context.h
> index 060d497..daade97 100644
> --- a/cogl/cogl-context.h
> +++ b/cogl/cogl-context.h
> @@ -234,8 +234,7 @@ typedef enum _CoglFeatureID
>    COGL_FEATURE_ID_GLES2_CONTEXT,
>    COGL_FEATURE_ID_DEPTH_TEXTURE,
>
> -  /*< private > */
> -  _COGL_N_FEATURE_IDS
> +  _COGL_N_FEATURE_IDS   /*< skip >*/
>  } CoglFeatureID;
>
>
> --
> 1.7.7.5
>
> _______________________________________________
> Cogl mailing list
> Cogl at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/cogl


More information about the Cogl mailing list