[cogl/lionel/introspection: 47/76] index-buffer: add introspection support
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/lionel/introspection: 47/76] index-buffer: add introspection support
- Date: Wed, 11 Sep 2013 15:23:44 +0000 (UTC)
commit ac94ff77f5d58d510af6a9970c6ae32201da0570
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 074452c..6943b31 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]