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:
parent
6c5110cb4b
commit
57d9c3c668
1 changed files with 13 additions and 0 deletions
|
@ -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__ */
|
||||||
|
|
Loading…
Reference in a new issue