Font.mbstowcs

Warning gdk_mbstowcs is deprecated and should not be used in newly-written code. Converts a multi-byte string to a wide character string. (The function name comes from an acronym of 'Multi-Byte String TO Wide Character String').

class Font
static
int
mbstowcs
(,
string src
,)

Parameters

dest GdkWChar*

the space to place the converted wide character string into.

src string

the multi-byte string to convert, which must be nul-terminated.

destMax int

the maximum number of wide characters to place in dest.

Return Value

Type: int

the number of wide characters written into dest, or -1 if the conversion failed.

Meta