Function Macro

Coglclear_object

Declaration [src]

#define cogl_clear_object (
  object_ptr
)

Description [src]

Clears a reference to a CoglObject.

object_ptr must not be NULL.

If the reference is NULL then this function does nothing. Otherwise, the reference count of the object is decreased using cogl_object_unref() and the pointer is set to NULL.

Parameters

object_ptr -
 

A pointer to a CoglObject reference.