Re: Replacing pointers with references for output parameters
- From: Murray Cumming <murrayc murrayc com>
- To: Daniel Boles <dboles src gmail com>, gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Replacing pointers with references for output parameters
- Date: Fri, 26 May 2017 12:44:15 +0200
On Wed, 2017-05-24 at 17:24 +0100, Daniel Boles wrote:
Ah. It is documented as being able to return a Gtk::INPUT_ERROR, so
that's why it's an int. Perhaps a real enumeration would be cleaner
in this case? With enumerators like {unhandled, success,
input_error}.
Maybe, but that would be an issue for the C API, right?
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]