buffer: Remove const from cogl_is_buffer (const void *)

None of the other cogl_is_blah functions have a const pointer so this
is just for consistency. It helps if someone is trying to have an
array of type-check function pointers to determine the Cogl object
type because in that case all of the functions would have to have the
same prototype.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
This commit is contained in:
Neil Roberts 2012-03-14 13:45:00 +00:00
parent d18b59d9e6
commit f1d65e58b3
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ _cogl_buffer_register_buffer_type (const CoglObjectClass *klass)
}
gboolean
cogl_is_buffer (const void *object)
cogl_is_buffer (void *object)
{
const CoglHandleObject *obj = object;
GSList *l;

View File

@ -75,7 +75,7 @@ typedef struct _CoglBuffer CoglBuffer;
* Stability: unstable
*/
gboolean
cogl_is_buffer (const void *object);
cogl_is_buffer (void *object);
/**
* cogl_buffer_get_size: