Re: void or bool (GIOmm new definitions)
- From: Krzysztof Kosiński <tweenk pl gmail com>
- To: Glus Xof <gtglus gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: void or bool (GIOmm new definitions)
- Date: Fri, 5 Feb 2010 19:09:17 +0100
2010/2/5 Glus Xof <gtglus gmail com>:
> I started to look over these new definitions:
>
> http://datsystems.dnsalias.com/doc/glibmm-2.4/docs/reference/html/classGio_1_1Socket.html
>
> And I'd like only to ask you if those methods (like bind, listen,
> connect...) will really return void...
> or bool instead.
They return void, and on error an exception (Gio::Error) is thrown.
The documentation for the retun value is a leftover from the C API.
Regards, Krzysztof
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]