Function

Purpletext_strip_mnemonic

since: 2.0

Declaration [src]

char*
purple_text_strip_mnemonic (
  const char* in
)

Description [src]

Removes the underscore characters from a string used identify the mnemonic character.

Available since: 2.0

Parameters

in

Type: const char*

The string to strip.

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

Return value

Type: char*

The stripped string.

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.