GNOME Bugzilla – Bug 574326
flags bool() as method too
Last modified: 2009-07-19 14:37:58 UTC
I got to the change below for having $flags->bool available as a method as well as an overload. It changes the parameters names to "f" for flags instead of "a" from a,b,swap, and in the to_arrayref bit as well, for the benefit of the generated docs and usage message. I think the binary ops may be best left alone for now. If they were methods you'd probably like them to take any number of args, instead of just 1. But doing that could make the swap arg ambiguous, so leave those bits alone for now.
Created attachment 130163 [details] [review] change to have $flags->bool as a method, as well as an overload
Committed with minor modifications: <http://git.gnome.org/cgit/perl-Glib/commit/?id=f61bde5>. Thanks!