Cogl.Object.ref
Description: Reference for Cogl.Object.ref

### Function

# Cogl Objectref

#### Declaration [src]

    void*
    cogl_object_ref (
      void* object
    )

#### Description [src]

Increases the reference count of `object` by 1

#### Parameters

`object` | `void*`
| A `CoglObject`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `void*`
| The `object`, with its reference count increased.
| The data is owned by the called function.
| The return value can be `NULL`.