summaryrefslogtreecommitdiff
path: root/cogl/cogl-index-buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-index-buffer.h')
-rw-r--r--cogl/cogl-index-buffer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/cogl/cogl-index-buffer.h b/cogl/cogl-index-buffer.h
index 2eef2aa0..204c8585 100644
--- a/cogl/cogl-index-buffer.h
+++ b/cogl/cogl-index-buffer.h
@@ -40,6 +40,10 @@
#include <cogl/cogl-context.h>
+#ifdef COGL_HAS_GTYPE_SUPPORT
+#include <glib-object.h>
+#endif
+
COGL_BEGIN_DECLS
/**
@@ -54,6 +58,15 @@ COGL_BEGIN_DECLS
typedef struct _CoglIndexBuffer CoglIndexBuffer;
+#ifdef COGL_HAS_GTYPE_SUPPORT
+/**
+ * cogl_index_buffer_get_gtype:
+ *
+ * Returns: a #GType that can be used with the GLib type system.
+ */
+GType cogl_index_buffer_get_gtype (void);
+#endif
+
/**
* cogl_index_buffer_new:
* @context: A #CoglContext