Function

Purpletext_strip_mnemonic

Declaration [src]

char*
purple_text_strip_mnemonic (
  const char* in
)

Description [src]

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

Parameters

in 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

Returns: 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.