Paul Moore <[EMAIL PROTECTED]> writes:
>
>This is all pretty trivial, and the translation to XS should be fairly
>trivial, too. Except that ISA setting...

What is un-trivial about the @ISA setting?

>
>I know that I can do the "normal" thing and put the ISA in the pm file, and
>the rest in the XS. In fact, this is what I'll do initially in any case. But
>I wonder if there is an easy way of specifying the inheritance in the XS, so
>that the whole of the class definition stuff is in one place...

BOOT:
 {
  AV *isa = perl_get_av("ClassName::ISA",1);
  av_push(isa,newSVpv("BaseClass")); 
 } 

>
>Paul Moore.
-- 
Nick Ing-Simmons

Reply via email to