Method

TemplateScopeset_strv

Declaration

void
tmpl_scope_set_strv (
  TmplScope* self,
  const gchar* name,
  const gchar** value
)

Description

Sets the value of the symbol named name to the strv value.

Parameters

name

Type: const gchar*

A name for the symbol.

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

Type: An array of gchar*

The value to set it to, or NULL.

The argument can be NULL.
The array must be NULL-terminated.
The data is owned by the caller of the method.
Each element is a NUL terminated UTF-8 string.