Hi all,
Another tail end of an irc conversation with Chris...
It appears that XS_super() and the XS installsuper() are not needed.
In Qt/isa.pm
# This hash is used to get an object blessed to the right thing, so that
# when we call SUPER(), we get this blessed object back.
my $duper = ${$caller.'::_INTERNAL_STATIC_'}{'SUPER'} = bless {}, " $caller";
# Qt::_internal::installsuper($caller);# unless defined &{ $caller.'::SUPER' };
{
my $sub = sub {$duper};
no strict 'refs';
*{"$caller\::SUPER"} = $sub;
}
And really this %MyClass::_INTERNAL_STATIC_ isn't needed either
AFAICT.
But ultimately, I think the object->SUPER->method shouldn't be
required (and doesn't that lose the object data anyway?) if the
AUTOLOAD can be made to see SUPER::method(). I suspect that
the current scheme might actually break down at two levels
deep anyway but that's all I've got for tonight.
--Eric
--
"It works better if you plug it in!"
--Sattinger's Law
---------------------------------------------------
http://scratchcomputing.com---------------------------------------------------
_______________________________________________
Kde-perl mailing list
Kde-perl@...
https://mail.kde.org/mailman/listinfo/kde-perl