Constructor
XemeLocalizedStringnew
unstable since: 0.1
Declaration [src]
XemeLocalizedString*
xeme_localized_string_new (
const char* lang,
const char* str
)
Parameters
lang
-
Type:
const char*
The language for the string.
The argument can be NULL
.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. str
-
Type:
const char*
The string.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: XemeLocalizedString
The string.
The caller of the function takes ownership of the data, and is responsible for freeing it. |