diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-09-03 15:30:48 +0100 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2014-02-09 19:57:50 +0000 |
commit | 6c2520d6d3c6136342768d5a3666222f1eff627b (patch) | |
tree | 95cb4c2100fea589d3d0c43ec01f4960cff8573f | |
parent | 888d29e18b5d580b9fbfe3edd477a788dc645c10 (diff) | |
download | cogl-6c2520d6d3c6136342768d5a3666222f1eff627b.tar.gz |
index-buffer: add introspection support
-rw-r--r-- | cogl/cogl-index-buffer.c | 2 | ||||
-rw-r--r-- | 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 a36c2d29..f34d2df4 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 e9fdda9c..cb0ac975 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 |