[Cogl] [PATCH 5/6] doc: Hide the private fields of CoglQuaternion

Robert Bragg robert at sixbynine.org
Sun May 13 12:21:54 PDT 2012


looks good to me:

We could also use the COGL_PRIVATE macro here, but it doesn't really
matter for padding members I think.

Reviewed-by: Robert Bragg <robert at linux.intel.com>

thanks,
- Robert

On Sat, May 12, 2012 at 8:45 PM, Damien Lespiau
<damien.lespiau at gmail.com> wrote:
> From: Damien Lespiau <damien.lespiau at intel.com>
>
> ---
>  cogl/cogl-quaternion.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/cogl/cogl-quaternion.h b/cogl/cogl-quaternion.h
> index ae9605b..23bad86 100644
> --- a/cogl/cogl-quaternion.h
> +++ b/cogl/cogl-quaternion.h
> @@ -127,6 +127,7 @@ struct _CoglQuaternion
>   float y;
>   float z;
>
> +  /*< private >*/
>   float padding0;
>   float padding1;
>   float padding2;
> --
> 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