summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2012-12-31 17:31:50 +0000
committerRobert Bragg <robert@linux.intel.com>2013-01-22 17:48:15 +0000
commitc0a024f81d3a5fc97e0f32ebcf29257e98c755c7 (patch)
treeed95c5c999ecc1cd2147356229c1795c7448c39e
parentbde1d2e6616785ef6fa7b7068e38179abd14347f (diff)
downloadcogl-c0a024f81d3a5fc97e0f32ebcf29257e98c755c7.tar.gz
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)
-rw-r--r--cogl/cogl-error.h3
-rw-r--r--cogl/cogl-object.h6
2 files changed, 3 insertions, 6 deletions
diff --git a/cogl/cogl-error.h b/cogl/cogl-error.h
index f5867899..1b6a9519 100644
--- a/cogl/cogl-error.h
+++ b/cogl/cogl-error.h
@@ -113,8 +113,7 @@
* @code: A specific error code within a specified domain
* @message: A human readable error message
*/
-typedef struct _CoglError
-{
+typedef struct _CoglError {
uint32_t domain;
int code;
char *message;
diff --git a/cogl/cogl-object.h b/cogl/cogl-object.h
index 87fdce2b..eb7a8252 100644
--- a/cogl/cogl-object.h
+++ b/cogl/cogl-object.h
@@ -83,8 +83,7 @@ cogl_object_unref (void *object);
*
* Since: 1.4
*/
-typedef struct
-{
+typedef struct {
int unused;
} CoglUserDataKey;
@@ -114,8 +113,7 @@ typedef void (*CoglUserDataDestroyCallback) (void *user_data);
* Since: 1.8
* Stability: unstable
*/
-typedef struct
-{
+typedef struct {
const char *name;
unsigned long instance_count;
} CoglDebugObjectTypeInfo;