Method

GObjectValueset_string_take_ownership

Declaration

void
g_value_set_string_take_ownership (
  GValue* value,
  gchar* v_string
)

Description

This is an internal function introduced mainly for C marshallers.

Deprecated since:2.4

Use g_value_take_string() instead.

Parameters

v_string gchar*
 

Duplicated unowned string to be set.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.