diff options
Diffstat (limited to 'cogl/cogl-pixel-buffer.h')
-rw-r--r-- | cogl/cogl-pixel-buffer.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cogl/cogl-pixel-buffer.h b/cogl/cogl-pixel-buffer.h index b618efd4..3a665d46 100644 --- a/cogl/cogl-pixel-buffer.h +++ b/cogl/cogl-pixel-buffer.h @@ -39,10 +39,23 @@ typedef struct _CoglPixelBuffer CoglPixelBuffer; #include <cogl/cogl-types.h> #include <cogl/cogl-context.h> +#ifdef COGL_HAS_GTYPE_SUPPORT +#include <glib-object.h> +#endif + COGL_BEGIN_DECLS #define COGL_PIXEL_BUFFER(buffer) ((CoglPixelBuffer *)(buffer)) +#ifdef COGL_HAS_GTYPE_SUPPORT +/** + * cogl_pixel_buffer_get_gtype: + * + * Returns: a #GType that can be used with the GLib type system. + */ +GType cogl_pixel_buffer_get_gtype (void); +#endif + /** * cogl_pixel_buffer_new: * @context: A #CoglContext |