doc: Put the opening '{' at the end of combined typedefs
gtk-doc is not smart enough to parse things like: typedef struct { ... } CoglFoo; but needs the '{' at the end of the first line. (cherry picked from commit d1187550ef547305fdeb8a22a7e39a95611a0e1d)
This commit is contained in:
parent
bde1d2e661
commit
c0a024f81d
@ -113,8 +113,7 @@
|
|||||||
* @code: A specific error code within a specified domain
|
* @code: A specific error code within a specified domain
|
||||||
* @message: A human readable error message
|
* @message: A human readable error message
|
||||||
*/
|
*/
|
||||||
typedef struct _CoglError
|
typedef struct _CoglError {
|
||||||
{
|
|
||||||
uint32_t domain;
|
uint32_t domain;
|
||||||
int code;
|
int code;
|
||||||
char *message;
|
char *message;
|
||||||
|
@ -83,8 +83,7 @@ cogl_object_unref (void *object);
|
|||||||
*
|
*
|
||||||
* Since: 1.4
|
* Since: 1.4
|
||||||
*/
|
*/
|
||||||
typedef struct
|
typedef struct {
|
||||||
{
|
|
||||||
int unused;
|
int unused;
|
||||||
} CoglUserDataKey;
|
} CoglUserDataKey;
|
||||||
|
|
||||||
@ -114,8 +113,7 @@ typedef void (*CoglUserDataDestroyCallback) (void *user_data);
|
|||||||
* Since: 1.8
|
* Since: 1.8
|
||||||
* Stability: unstable
|
* Stability: unstable
|
||||||
*/
|
*/
|
||||||
typedef struct
|
typedef struct {
|
||||||
{
|
|
||||||
const char *name;
|
const char *name;
|
||||||
unsigned long instance_count;
|
unsigned long instance_count;
|
||||||
} CoglDebugObjectTypeInfo;
|
} CoglDebugObjectTypeInfo;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user