Re: Replacing pointers with references for output parameters



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]