1
0
Fork 0

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.
This commit is contained in:
Emmanuele Bassi 2009-11-11 10:32:39 +00:00
parent 6c5110cb4b
commit 57d9c3c668

View file

@ -75,6 +75,19 @@ gboolean cogl_bitmap_get_size_from_file (const gchar *filename,
gint *width, gint *width,
gint *height); 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 G_END_DECLS
#endif /* __COGL_BITMAP_H__ */ #endif /* __COGL_BITMAP_H__ */