Method

GObjectValueset_pointer

Declaration

void
g_value_set_pointer (
  GValue* value,
  gpointer v_pointer
)

Description

Set the contents of a pointer GValue to v_pointer.

Parameters

v_pointer

Type: gpointer

Pointer value to be set.

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