[cogl/lionel/introspection-next: 18/45] attribute: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 18/45] attribute: add introspection support
- Date: Fri, 15 Nov 2013 15:42:37 +0000 (UTC)
commit 33a7c9079c211be1a7f53cffa36f1a49ceba8620
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Tue Sep 3 14:35:21 2013 +0100
attribute: add introspection support
cogl/cogl-attribute.c | 2 ++
cogl/cogl-attribute.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-attribute.c b/cogl/cogl-attribute.c
index 4992007..2d5114c 100644
--- a/cogl/cogl-attribute.c
+++ b/cogl/cogl-attribute.c
@@ -45,6 +45,7 @@
#include "cogl-pipeline-progend-glsl-private.h"
#endif
#include "cogl-private.h"
+#include "cogl-gtype-private.h"
#include <string.h>
#include <stdio.h>
@@ -58,6 +59,7 @@
static void _cogl_attribute_free (CoglAttribute *attribute);
COGL_OBJECT_DEFINE (Attribute, attribute);
+COGL_GTYPE_DEFINE_CLASS (Attribute, attribute);
static CoglBool
validate_cogl_attribute_name (const char *name,
diff --git a/cogl/cogl-attribute.h b/cogl/cogl-attribute.h
index 019e6c9..c033a93 100644
--- a/cogl/cogl-attribute.h
+++ b/cogl/cogl-attribute.h
@@ -49,6 +49,8 @@ COGL_BEGIN_DECLS
* FIXME
*/
+COGL_GTYPE_DECLARE_TYPE (attribute);
+
/**
* cogl_attribute_new: (constructor)
* @attribute_buffer: The #CoglAttributeBuffer containing the actual
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]