Re: cellrenderer GET_SIZE super method

Torsten Schoenfeld <kaffeetisch gmx de> writes:

a Perl class that inherits from a C class that inherits from a Perl

What about a completely different attack.  When creating a perl
subclass, look at the superclass and see if it's perl too.  If not then
stick in GET_SIZE / EDITABLE / etc funcs in that superclass calling the
corresponding class funcs (in that superclass).  If the XSANY.any_dptr
thingie pointed to the class struct then a single GET_SIZE xsub could be
re-used for any class.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]