Function

Coglis_context

since: 1.10

Declaration [src]

gboolean
cogl_is_context (
  void* object
)

Description [src]

Gets whether the given object references an existing context object.

Stability: Unstable

Available since: 1.10

Parameters

object

Type: void*

An object or NULL.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gboolean

TRUE if the object references a CoglContext, FALSE otherwise.