in reply to Re^2: Using stderr from Inline::C: (part deux)
in thread Using stderr from Inline::C: (part deux)
I wondering how I might use the NO_XSLOCKS that bulk88 mentions with I::C?
Should be easy enough.
Looking at the post to which bulk88 provided a link, I see:
The PRE_HEAD config option is a recent addition (beginning in 0.51) - it's documented in 'perldoc Inline::C'.
Cheers,
Rob
Should be easy enough.
Looking at the post to which bulk88 provided a link, I see:
If that's correct, then this should provide what's needed:>You need to add > > #define NO_XSLOCKS > >before > > #include <xsub.h>
(Not sure if the '\n' is needed or not ... and haven't checked.)use Inline C => Config => PRE_HEAD => "#define NO_XSLOCKS\n";
The PRE_HEAD config option is a recent addition (beginning in 0.51) - it's documented in 'perldoc Inline::C'.
Cheers,
Rob
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Using stderr from Inline::C: (part deux)
by BrowserUk (Patriarch) on May 23, 2013 at 22:31 UTC | |
by syphilis (Archbishop) on May 24, 2013 at 00:29 UTC |
In Section
Seekers of Perl Wisdom