Method

GrlDataset_string

since: 0.1.4

Declaration [src]

void
grl_data_set_string (
  GrlData* data,
  GrlKeyID key,
  const gchar* strvalue
)

Description [src]

Sets the first string value associated with key in data. If key already has a value old value is freed and the new one is set.

Available since: 0.1.4

Parameters

key

Type: GrlKeyID

Key to change or add.

strvalue

Type: const gchar*

The new value.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.