in reply to Extending Perl with C: how to use an array reference?

For ad-hoc use of C, it might pay to take a look at Inline::C - it's pretty good at munging the parameters for you.
  • Comment on Re: Extending Perl with C: how to use an array reference?