[cogl/lionel/introspection-next: 18/42] attribute: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection-next: 18/42] attribute: add introspection support
- Date: Tue, 10 Dec 2013 21:51:48 +0000 (UTC)
commit e46360e1e459118819cf4af69257775db73aae5f
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 1bd6b42..ea7da6d 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]