Re: $flags->as_arrayref directly
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: $flags->as_arrayref directly
- Date: Tue, 30 Dec 2008 15:22:55 +0100
Kevin Ryde wrote:
Alas as_arrayref requires the "overload" three args. I wonder if that
could be relaxed per below. The test case is actually a good example of
the method looking cleaner than the overload, though no doubt it's a
matter of personal preference.
Looks good to me. Committed. Thanks for the patch.
I wondered if the "PROTOTYPE:" in the xs was meant to allow this
already, except it doesn't. :-) That's something else is it?
Indeed. I don't know why the PROTOTYPE: line doesn't have the desired effect.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]