@ref


Description:

public weak Object @ref ()

Increments the reference count on this.

This function does not take the lock on this because it relies on atomic refcounting.

This object returns the input parameter to ease writing constructs like : result = gst_object_ref (object->parent);

Parameters:

this

a Object to reference

Returns:

A pointer to this