Nathan Torkington writes:
> Is there some reason that xsubpp couldn't automatically add the
> 
>   #include "EXTERN.h"
>   #include "perl.h"
>   #include "XSUB.h"

I vaguely remember not doing the standard includes when I built
an extension to a horrible piece of software. Anyways, it seems
useful to be able to set environment controlling #defines (like
pollution) from the XS file.

There's so much boiler plate already, would it really help
to eliminate these lines? (Maybe XSUB.h could check for and
include EXTERN.h and perl.h?)

- Ken

-- 
Ken Fox, [EMAIL PROTECTED], (313)59-44794
------------------------------------------------------------------------
Ford Motor Company, Powertrain           | "Is this some sort of trick
Analytical Powertrain Methods Department |  question or what?" -- Calvin
C3P Implementation Section               |

Reply via email to