Re: [Vala] [Genie] Convert string to uchar[]



On Mon, 2009-10-12 at 16:29 +0200, Nicolas wrote:
I need to convert string to array of uchar in genie.
I know under vala it's "(uchar[]) testing" where testing is the string, 
so how can i do this under genie ?

There is a string.to_utf8 method that returns a copy of the string as
char[].

Jürg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]