From: Neil Roberts Date: Mon, 12 Apr 2010 14:16:58 +0000 (+0100) Subject: CoglMatrix: Don't make the matrix fields private X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fea5051db58ed376275621b56fbaaba75bb7ea1;p=profile%2Fivi%2Fclutter.git CoglMatrix: Don't make the matrix fields private The xx, yx, zx etc fields are meant to be read-only but they were marked as private with the gtk-doc annotation. This patch moves the private marker so that the 16 float member fields are public but the type, inverted matrix, flags and padding are not. --- diff --git a/clutter/cogl/cogl/cogl-matrix.h b/clutter/cogl/cogl/cogl-matrix.h index f335940..80b828e 100644 --- a/clutter/cogl/cogl/cogl-matrix.h +++ b/clutter/cogl/cogl/cogl-matrix.h @@ -72,8 +72,6 @@ typedef struct _CoglMatrix CoglMatrix; */ struct _CoglMatrix { - /*< private >*/ - /* column 0 */ float xx; float yx; @@ -98,6 +96,8 @@ struct _CoglMatrix float zw; float ww; + /*< private >*/ + /* Note: we may want to extend this later with private flags * and a cache of the inverse transform matrix. */ float inv[16];