[cogl/lionel/introspection-next: 19/42] attribute-buffer: add introspection support



commit cd74ca94d14d7135c62841ec04e1b530f82f8384
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]