Re: how to define GError in g_io_channel_read_chars?



Le jeu 19/09/2002 à 10:02, chen.shengqi a écrit :
> Dear sirs:
>     How should I define GError in g_io_channel_read_chars? should I define it as :
>     GError *err;  
>     ... /* and malloc for it*/
>     g_io_channel_read_chars(.....,&err)?
>     it seems that this dont work.
> thanks

I presume you are using GTK2. The doc about gerror situated at
http://developer.gnome.org/doc/API/2.0/glib/glib-error-reporting.html is
quite complete imo, I hope that's enough.

Christophe



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