Constructor

SpielUtterancenew

since: 1.0

Declaration [src]

SpielUtterance*
spiel_utterance_new (
  const char* text
)

Description [src]

Creates a new SpielUtterance.

Available since: 1.0

Parameters

text

Type: const char*

The utterance text to be spoken.

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

Return value

Type: SpielUtterance

The new SpielUtterance.

The caller of the function takes ownership of the data, and is responsible for freeing it.