[cogl/lionel/introspection-next: 20/44] attribute-buffer: add introspection support



commit 888d29e18b5d580b9fbfe3edd477a788dc645c10
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 15:28:18 2013 +0100

    attribute-buffer: add introspection support

 cogl/cogl-attribute-buffer.c |    2 ++
 cogl/cogl-attribute-buffer.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-attribute-buffer.c b/cogl/cogl-attribute-buffer.c
index 20c093d..40c5fc6 100644
--- a/cogl/cogl-attribute-buffer.c
+++ b/cogl/cogl-attribute-buffer.c
@@ -33,10 +33,12 @@
 #include "cogl-attribute-buffer.h"
 #include "cogl-attribute-buffer-private.h"
 #include "cogl-context-private.h"
+#include "cogl-gtype-private.h"
 
 static void _cogl_attribute_buffer_free (CoglAttributeBuffer *array);
 
 COGL_BUFFER_DEFINE (AttributeBuffer, attribute_buffer);
+COGL_GTYPE_DEFINE_CLASS (AttributeBuffer, attribute_buffer);
 
 CoglAttributeBuffer *
 cogl_attribute_buffer_new_with_size (CoglContext *context,
diff --git a/cogl/cogl-attribute-buffer.h b/cogl/cogl-attribute-buffer.h
index caa4c5e..a64c044 100644
--- a/cogl/cogl-attribute-buffer.h
+++ b/cogl/cogl-attribute-buffer.h
@@ -50,6 +50,8 @@ COGL_BEGIN_DECLS
 
 #define COGL_ATTRIBUTE_BUFFER(buffer) ((CoglAttributeBuffer *)(buffer))
 
+COGL_GTYPE_DECLARE_TYPE (attribute_buffer);
+
 /**
  * cogl_attribute_buffer_new_with_size:
  * @context: A #CoglContext


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