Re: $flags-as_arrayref directly

2009-01-20 Thread Torsten Schoenfeld
Kevin Ryde wrote: I don't know why the PROTOTYPE: line doesn't have the desired effect. I guess it only sticks a prototype on the sub, without changing how the generated code actually checks the args. Does that sound right? In which case if as_arrayref is only ever used as a method then I

Re: $flags-as_arrayref directly

2008-12-30 Thread Kevin Ryde
Torsten Schoenfeld kaffeeti...@gmx.de writes: I don't know why the PROTOTYPE: line doesn't have the desired effect. I guess it only sticks a prototype on the sub, without changing how the generated code actually checks the args. Does that sound right? In which case if as_arrayref is only ever

$flags-as_arrayref directly

2008-11-26 Thread Kevin Ryde
I thought to call a Glib::Flags as_arrayref directly like myexpression()-as_arrayref inspired by other as_arrayref funcs, and because it seemed a little cleaner than lots of brackets [EMAIL PROTECTED]()}] Alas as_arrayref requires the overload three args. I wonder if that could