Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: C Functions with variable argument list in perlxs

by Thelonius (Priest)
on May 05, 2008 at 13:11 UTC ( [id://684633]=note: print w/replies, xml ) Need Help??


in reply to C Functions with variable argument list in perlxs

There are a few libraries that can help with this.

There are two portable, non-Perl specific libraries: One is libffi. The other is ffcall (ftp server not responding as I write this).

There is a Perl interface to ffcall: FFI.

If you are using Windows, you can use Win32::API.

If you use the FFI or Win32::API Perl modules, you may not need to write any XS code of your own.

Also, I can email a copy of ffcall-1.10.tar.gz if you have trouble downloading it. Just email me at kahirsch at cpan dot org.

  • Comment on Re: C Functions with variable argument list in perlxs

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://684633]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2025-06-22 02:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.