[cogl/lionel/introspection-next: 20/42] index-buffer: add introspection support



commit 7bd57718e96380c0d7137437f875410f6846dc14
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 15:30:48 2013 +0100

    index-buffer: add introspection support

 cogl/cogl-index-buffer.c |    2 ++
 cogl/cogl-index-buffer.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-index-buffer.c b/cogl/cogl-index-buffer.c
index a36c2d2..f34d2df 100644
--- a/cogl/cogl-index-buffer.c
+++ b/cogl/cogl-index-buffer.c
@@ -33,10 +33,12 @@
 #include "cogl-indices.h"
 #include "cogl-indices-private.h"
 #include "cogl-context-private.h"
+#include "cogl-gtype-private.h"
 
 static void _cogl_index_buffer_free (CoglIndexBuffer *indices);
 
 COGL_BUFFER_DEFINE (IndexBuffer, index_buffer);
+COGL_GTYPE_DEFINE_CLASS (IndexBuffer, index_buffer);
 
 /* XXX: Unlike the wiki design this just takes a size. A single
  * indices buffer should be able to contain multiple ranges of indices
diff --git a/cogl/cogl-index-buffer.h b/cogl/cogl-index-buffer.h
index e9fdda9..cb0ac97 100644
--- a/cogl/cogl-index-buffer.h
+++ b/cogl/cogl-index-buffer.h
@@ -47,6 +47,8 @@ COGL_BEGIN_DECLS
 
 typedef struct _CoglIndexBuffer              CoglIndexBuffer;
 
+COGL_GTYPE_DECLARE_TYPE (index_buffer);
+
 /**
  * cogl_index_buffer_new:
  * @context: A #CoglContext


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