[cogl/lionel/introspection: 41/76] attribute: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection: 41/76] attribute: add introspection support
- Date: Wed, 11 Sep 2013 15:23:13 +0000 (UTC)
commit 0ce5fed387b5b8ca42947368c45ae57e4d26fd41
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 c635e04..696c913 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:
* @attribute_buffer: The #CoglAttributeBuffer containing the actual
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]