diff options
Diffstat (limited to 'cogl/cogl-frame-info.h')
-rw-r--r-- | cogl/cogl-frame-info.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cogl/cogl-frame-info.h b/cogl/cogl-frame-info.h index 8d9c39bc..a7d0b6cc 100644 --- a/cogl/cogl-frame-info.h +++ b/cogl/cogl-frame-info.h @@ -33,6 +33,10 @@ #include <cogl/cogl-types.h> #include <cogl/cogl-output.h> + +#ifdef COGL_HAS_GTYPE_SUPPORT +#include <glib-object.h> +#endif #include <glib.h> G_BEGIN_DECLS @@ -40,6 +44,15 @@ G_BEGIN_DECLS typedef struct _CoglFrameInfo CoglFrameInfo; #define COGL_FRAME_INFO(X) ((CoglFrameInfo *)(X)) +#ifdef COGL_HAS_GTYPE_SUPPORT +/** + * cogl_frame_info_get_gtype: + * + * Returns: a #GType that can be used with the GLib type system. + */ +GType cogl_frame_info_get_gtype (void); +#endif + /** * cogl_is_frame_info: * @object: A #CoglObject pointer |