mirror of
https://github.com/brl/mutter.git
synced 2025-02-04 15:44:10 +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
8a5aed36fe
commit
3e03ba1e7e
@ -157,7 +157,7 @@ _cogl_##type_name##_pointer_from_handle (CoglHandle handle) \
|
|||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
gboolean \
|
gboolean \
|
||||||
cogl_is_##type_name (CoglHandle object) \
|
cogl_is_##type_name (void *object) \
|
||||||
{ \
|
{ \
|
||||||
CoglObject *obj = object; \
|
CoglObject *obj = object; \
|
||||||
\
|
\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user