CoglMatrix: Don't make the matrix fields private
authorNeil Roberts <neil@linux.intel.com>
Mon, 12 Apr 2010 14:16:58 +0000 (15:16 +0100)
committerNeil Roberts <neil@linux.intel.com>
Mon, 12 Apr 2010 14:38:58 +0000 (15:38 +0100)
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.

clutter/cogl/cogl/cogl-matrix.h

index f335940..80b828e 100644 (file)
@@ -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];