mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
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
@ -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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user