My plan is to take only the functionality that I need and to build and maintain a C DLL and then run h2xs against the header to produce the Perl module. Once the compiler project is set up, I can keep the C libary up to date by adding functionality when the need arises and simply generate the latest module.
I would like to know whether any monk has produced (or knows about) an easy to follow example which will get me started. It would also be great if I could get advice on the best practice for writing C code such that h2xs had minimum of problems. I have been looking at the perlxs and perlxstut documentation in addition to the h2xs documentation but I really want a worked example to start me off. Laziness or intelligent re-use: you decide!
In reply to Wanted: Idiots guide to h2xs by inman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |