in reply to perlapi magic: setting ISA from C code

I think you should be able to manipulate @ISA just like any other array, i.e. something like (untested):

av_push( get_av("SomeClassName::ISA",1), newSVpv("SomeBaseClass",0) );

Replies are listed 'Best First'.
Re^2: perlapi magic: setting ISA from C code
by kingkongrevenge (Scribe) on Feb 23, 2009 at 00:48 UTC
    We have a winner! Thanks. Don't know why I couldn't think of that.

    The sv_magic documentation is still confusing...

      Too many bananas?

       

       

      ;)