Re: encoding of type_name for e.g. g_register_type_static()



On Sat, 2005-02-05 at 13:32 +0100, Stefan Kost wrote:
> hi hi,
> 
> I create some g_objects on the fly. The type_name I pass to
> g_register_type_static(), does this need to adhere to some encoding restrictions
> (beeing pure ASCII) or is UTF-8 okay?

You can find the rules in 

 glib/gobject/gtype.c:check_type_name_I

A doc patch might be appropriate penance for asking on 
gtk-devel-list :-). (The gobject docs are out-of-line in 
the tmpl files.)

Regards,
						Owen

Attachment: signature.asc
Description: This is a digitally signed message part



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