Steffen Mueller wrote:
I'm a terrible writer, but I'll try to answer any questions you come up with.
I'll take you up on that :-)

- Why does every example of an XS file everywhere begin with

#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

but all the .xs files in the Wx package begin with something different, usually including

#define PERL_NO_GET_CONTEXT
#include "cpp/wxapi.h"

?

- I'm writing wxPerl wrappers for a new wx component. How do I make use of the installed Wx typemaps and the wxapi.h? The latter I assume is just a matter of making sure make can find it, but what's the best way to do this in a cross-platform way? Is there something I can pass to MakeMaker's LIBS arg that'll find wherever Wx was installed?

- If I want to #include "wx/wx.h" in my .xs file, does A::wx somehow find that for me automatically?

Thanks very much!

-- Ryan

Reply via email to