How do you manipulate @ISA from C? The documentation for the "magic" stuff is lousy. I guess it has something to do with vtbl_isa and sv_magic but damned if I can find an example.
I have a little thing working where the constructor of a C++ object blesses itself into a perl class. This works fine, but I want to use inheritance on the perl side for the resulting blessed scalar.
/* C++ ctor */
SomeClassName::SomeClassName()
{
...
sv_setref_pv( mySv, "SomeClassName", (void*)this ); //This works fine.
/* How do I tell mySv it @ISA "SomeBaseClass"? */
...
}