Inline-0.41-TRIAL1.tar.gz is available at http://inline.perl.org

(Note: The site will be down Monday night for maintenance)

Here's what changed:

1) Added Binkley's patch for CRLF variations.
2) Fixed Brett's problems with Makefile.PL hierarchies.
3) Added patch so other ILSMs would install. Thanks Patrick.
4) Added support for C function declarations (prototypes). Thanks Ariel.

Please test all these. Especially if you "own" them.

Number 4 is a big functional step for Inline. Ariel finally got it
through my skull that you can easily bind to many functions with only a
prototype. The prototype must be Inline (not in a header file). Hmm,
Inline::Filters will be *interesting*. This feature is experimental.
Right now it is always turned on, with no way to turn it off. Shouldn't
cause problems but I'll have to think more about it. (I'm sure I'll here
about it if it does).

Anyway, this now works:

perl -le 'use Inline C => q<double erf(double x);>; print erf($_) for
1..10'

this also works:

perl -le 'use Inline C => q<double erf(double);>; print erf($_) for
1..10'

Also you should be able to do something like:

---8<---
use Inline::Files;
use Inline C => FILE => 
           LIBS => '-lmylib';
myfunc(1, 2, 3);
__C__
int myfunc(int, int, int);
---8<---

Which is wickedly cool. I haven't tried this, and I need to go to a
party now. Ariel could you test this? Maybe whip up a nice example for
the Cookbook?

Cheers, Brian

-- 
perl -le 'use Inline C=>q{SV*JAxH(char*x){return newSVpvf
("Just Another %s Hacker",x);}};print JAxH+Perl'

Reply via email to