Re: Stringwise comparisons (Inline::C)

2012-05-08 Thread David Oswald
On Tue, May 8, 2012 at 10:24 AM, David Mertens wrote: > To those not CC'd: > > I posted a question on p5p and Nicholas Clark pointed out that sv_cmp looks > like it's *exactly* what you need, both as a general comperator, and as a > means to implement eq, lt, gt, etc. Does this look right? David

Re: Stringwise comparisons (Inline::C)

2012-05-08 Thread David Mertens
To those not CC'd: I posted a question on p5p and Nicholas Clark pointed out that sv_cmp looks like it's *exactly* what you need, both as a general comperator, and as a means to implement eq, lt, gt, etc. Does this look right? David On Tue, May 8, 2012 at 6:26 AM, David Mertens wrote: > Now now

Re: Stringwise comparisons (Inline::C)

2012-05-08 Thread David Mertens
Now now, let's not be too hasty. Using an undocumented function is generally not advised, and documenting how to use an undocumented function is generally frowned upon. As such I see two possibilities here: 1. Use pp_scmp and document it with lots of caveats indicating that the function is n

Re: Inline::CPP v0.39 released

2012-05-08 Thread Sisyphus
- Original Message - From: "David Oswald" To: Sent: Monday, May 07, 2012 6:08 PM Subject: FYI: Inline::CPP v0.39 released I've uploaded Inline::CPP v0.39 to CPAN. No problems here - it works fine for all my MinGW-built perls. I've just uploaded InlineX-CPP2XS-0.21, which now has