At 09:41 PM 11/5/00 -0700, Nathan Torkington wrote:
>Is there some reason that xsubpp couldn't automatically add the
>
> #include "EXTERN.h"
> #include "perl.h"
> #include "XSUB.h"
>
>lines which are automatically put there by h2xs? Do some XS files
>not need them? Surely not.
Surely yes. :)
There are two reasons to not have them in by default.
1) You might not be sure of where they should go relative to the rest of
the includes
2) You might not want those. Occasionally you might want intern.h instead
of extern.h, and I can see the odd time when a custom XSUB.h might be
useful. (For debugging reasons mainly)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk