[cogl/lionel/introspection-next: 27/42] output: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 27/42] output: add introspection support
- Date: Tue, 10 Dec 2013 21:52:33 +0000 (UTC)
commit 82051310e92a40f3a61f6bce87c55c09f3a1b77d
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Tue Sep 3 16:14:46 2013 +0100
output: add introspection support
cogl/cogl-output.c | 2 ++
cogl/cogl-output.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-output.c b/cogl/cogl-output.c
index 1f5e78f..793148d 100644
--- a/cogl/cogl-output.c
+++ b/cogl/cogl-output.c
@@ -26,12 +26,14 @@
#endif
#include "cogl-output-private.h"
+#include "cogl-gtype-private.h"
#include <string.h>
static void _cogl_output_free (CoglOutput *output);
COGL_OBJECT_DEFINE (Output, output);
+COGL_GTYPE_DEFINE_CLASS (Output, output);
CoglOutput *
_cogl_output_new (const char *name)
diff --git a/cogl/cogl-output.h b/cogl/cogl-output.h
index c0cc7cc..3ef3308 100644
--- a/cogl/cogl-output.h
+++ b/cogl/cogl-output.h
@@ -60,6 +60,8 @@ COGL_BEGIN_DECLS
typedef struct _CoglOutput CoglOutput;
#define COGL_OUTPUT(X) ((CoglOutput *)(X))
+COGL_GTYPE_DECLARE_TYPE (output);
+
/**
* CoglSubpixelOrder:
* @COGL_SUBPIXEL_ORDER_UNKNOWN: the layout of subpixel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]