From 51e4245ce1baf12482a6d9b758a640a79dda2e9b Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Sat, 3 Jul 2010 21:11:33 +0100 Subject: [PATCH] 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. --- cogl/cogl-object-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl-object-private.h b/cogl/cogl-object-private.h index edd901b30..acf98c0fa 100644 --- a/cogl/cogl-object-private.h +++ b/cogl/cogl-object-private.h @@ -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; \ \