summaryrefslogtreecommitdiff
path: root/cogl/cogl-attribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-attribute.h')
-rw-r--r--cogl/cogl-attribute.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cogl/cogl-attribute.h b/cogl/cogl-attribute.h
index 019e6c92..d2ecc3ea 100644
--- a/cogl/cogl-attribute.h
+++ b/cogl/cogl-attribute.h
@@ -39,6 +39,10 @@ typedef struct _CoglAttribute CoglAttribute;
#include <cogl/cogl-attribute-buffer.h>
#include <cogl/cogl-indices.h>
+#ifdef COGL_HAS_GTYPE_SUPPORT
+#include <glib-object.h>
+#endif
+
COGL_BEGIN_DECLS
/**
@@ -49,6 +53,15 @@ COGL_BEGIN_DECLS
* FIXME
*/
+#ifdef COGL_HAS_GTYPE_SUPPORT
+/**
+ * cogl_attribute_get_gtype:
+ *
+ * Returns: a #GType that can be used with the GLib type system.
+ */
+GType cogl_attribute_get_gtype (void);
+#endif
+
/**
* cogl_attribute_new: (constructor)
* @attribute_buffer: The #CoglAttributeBuffer containing the actual