Don't ask to ask, just ask | |
PerlMonks |
Re^4: Exploring Inline::C (Generating primes)by tsee (Curate) |
on Oct 26, 2011 at 06:14 UTC ( [id://933792]=note: print w/replies, xml ) | Need Help?? |
I think the best way to enable Inline::C using #line directives would be to implement an xsubpp (== ExtUtils::ParseXS) option to NOT generate #line directives. That shouldn't be hard. ... Oops! Turns out that's already done! Check out the linenumbers option. I haven't tested it, though. This being said, I believe Inline::C is a deployment nightmare and should be avoided outside experiments accordingly. Once you learned the C and perlapi stuff to write Inline::C, XS is child's play.
In Section
Meditations
|
|