Constructor

BirbLocalizedStringnew

since: 0.5

Declaration [src]

BirbLocalizedString*
birb_localized_string_new (
  const char* id,
  const char* label
)

Description [src]

Creates a new localized string.

Available since: 0.5

Parameters

id

Type: const char*

The identifier.

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

Type: const char*

The localized 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.

Return value

Type: BirbLocalizedString

The new instance.

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