[cogl/lionel/introspection-next: 22/44] indices: add introspection support



commit ef4e6f13f5e1ecb1aed24caa2a53289f800c1416
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 15:32:18 2013 +0100

    indices: add introspection support

 cogl/cogl-indices.c |    2 ++
 cogl/cogl-indices.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-indices.c b/cogl/cogl-indices.c
index ebdaccf..db8d75a 100644
--- a/cogl/cogl-indices.c
+++ b/cogl/cogl-indices.c
@@ -36,12 +36,14 @@
 #include "cogl-indices.h"
 #include "cogl-indices-private.h"
 #include "cogl-index-buffer.h"
+#include "cogl-gtype-private.h"
 
 #include <stdarg.h>
 
 static void _cogl_indices_free (CoglIndices *indices);
 
 COGL_OBJECT_DEFINE (Indices, indices);
+COGL_GTYPE_DEFINE_CLASS (Indices, indices);
 
 static size_t
 sizeof_indices_type (CoglIndicesType type)
diff --git a/cogl/cogl-indices.h b/cogl/cogl-indices.h
index 483b137..a19bd0d 100644
--- a/cogl/cogl-indices.h
+++ b/cogl/cogl-indices.h
@@ -98,6 +98,8 @@ COGL_BEGIN_DECLS
  * for drawing quads as above.
  */
 
+COGL_GTYPE_DECLARE_TYPE (indices);
+
 CoglIndices *
 cogl_indices_new (CoglContext *context,
                   CoglIndicesType type,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]