mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
cogl-object: cogl_is_XYZ prototype should take void *
This changes the cogl_is_XYZ function prototypes generated when using the COGL_OBJECT_DEFINE macro to take a void * argument instead of a CoglHandle argument.
This commit is contained in:
parent
9e25f8c40d
commit
51e4245ce1
@ -157,7 +157,7 @@ _cogl_##type_name##_pointer_from_handle (CoglHandle handle) \
|
||||
} \
|
||||
\
|
||||
gboolean \
|
||||
cogl_is_##type_name (CoglHandle object) \
|
||||
cogl_is_##type_name (void *object) \
|
||||
{ \
|
||||
CoglObject *obj = object; \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user