in reply to A clean way to account for machine word sizes in XS code?
sub MY::postamble { '$(MYEXTLIB): clib/Makefile cd clib && perl Makefile.PL DEFINE="' . (join ' ', @defines) . '" && $(MAKE) $(PASSTHRU) ...
I also mentioned the possibility raised by DrHyde of using stdint.h in the comments in the library header file, and gave the user the option of using their own custom typedefs when calling the top-level Makefile.PL. All in all, thanks to your help it wasn't too difficult, and I think the code should be easy enough to understand too. Just what I wanted: simple and clean.
Thanks again,
dec
|
|---|