From 9fa562ad216d516d1cd66f72aa39eaad0a5c40b9 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 11 Nov 2009 10:32:39 +0000 Subject: [PATCH] cogl: Declare cogl_is_bitmap() The function is automatically defined by the CoglHandle type definition macro, but it still requires to be declared in the header file to be used. --- clutter/cogl/cogl/cogl-bitmap.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/clutter/cogl/cogl/cogl-bitmap.h b/clutter/cogl/cogl/cogl-bitmap.h index a26c0c2c7..6e8a7fadb 100644 --- a/clutter/cogl/cogl/cogl-bitmap.h +++ b/clutter/cogl/cogl/cogl-bitmap.h @@ -75,6 +75,19 @@ gboolean cogl_bitmap_get_size_from_file (const gchar *filename, gint *width, gint *height); +/** + * cogl_is_bitmap: + * @handle: a #CoglHandle for a bitmap + * + * Checks whether @handle is a #CoglHandle for a bitmap + * + * Return value: %TRUE if the passed handle represents a bitmap, + * and %FALSE otherwise + * + * Since: 1.0 + */ +gboolean cogl_is_bitmap (CoglHandle handle); + G_END_DECLS #endif /* __COGL_BITMAP_H__ */