Function

RBcopy_function

Declaration [src]

gpointer
rb_copy_function (
  gpointer data
)

Description [src]

Just returns its first argument. Useful as a callback function.

This function is not directly available to language bindings.

Parameters

data

Type: gpointer

Generic argument.

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

Return value

Type: gpointer

data.

The data is owned by the called function.
The return value can be NULL.