Split the typdef to avoid confusing scanners
Scanners like gtk-doc and g-ir-scanner get confused by: typedef struct _Foo { ... } Foo; And expect instead: typedef struct _Foo Foo; struct _Foo { ... }; CoglMatrix definition should be changed to avoid the former type.
This commit is contained in:
parent
a6880643a0
commit
fcc3d56209
@ -41,6 +41,7 @@ G_BEGIN_DECLS
|
|||||||
* be used for direct manipulation of these matrices.
|
* be used for direct manipulation of these matrices.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
typedef struct _CoglMatrix CoglMatrix;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CoglMatrix:
|
* CoglMatrix:
|
||||||
@ -70,7 +71,8 @@ G_BEGIN_DECLS
|
|||||||
* undefined results. If you need to initialize a matrix with a constant other
|
* undefined results. If you need to initialize a matrix with a constant other
|
||||||
* than the identity matrix you can use cogl_matrix_init_from_array().</note>
|
* than the identity matrix you can use cogl_matrix_init_from_array().</note>
|
||||||
*/
|
*/
|
||||||
typedef struct _CoglMatrix {
|
struct _CoglMatrix
|
||||||
|
{
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
|
|
||||||
/* column 0 */
|
/* column 0 */
|
||||||
@ -103,7 +105,7 @@ typedef struct _CoglMatrix {
|
|||||||
gulong _padding1;
|
gulong _padding1;
|
||||||
gulong _padding2;
|
gulong _padding2;
|
||||||
gulong _padding3;
|
gulong _padding3;
|
||||||
} CoglMatrix;
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* cogl_matrix_init_identity:
|
* cogl_matrix_init_identity:
|
||||||
|
Loading…
Reference in New Issue
Block a user