Wrapping a C shared library with Perl and XS

Posted on March 18, 2017. Filed under: Uncategorized | Tags: , , , , , , |

Wrapping a C shared library with Perl and XS This tutorial shows how to wrap a C shared library using XS and Perl (including creating a trivial test shared library). Also posted to PerlMonks where the discussion references InlineX::C2XS.

Read Full Post | Make a Comment ( Comments Off on Wrapping a C shared library with Perl and XS )

Send in a Perl aref to C, get back a Perl array (and using the generated XS)

Posted on January 27, 2017. Filed under: Uncategorized | Tags: , , , , |

Send in a Perl aref to C, get back a Perl array (and using the generated XS) This will show you how to pass a Perl array reference (aref) into a C function, convert the aref into a C array, work on it, then push it back onto the stack so the C function returns […]

Read Full Post | Make a Comment ( Comments Off on Send in a Perl aref to C, get back a Perl array (and using the generated XS) )

Testing Perl with Travis-CI

Posted on November 20, 2015. Filed under: Uncategorized | Tags: , , , , , , , , , , |

A post on perlmonks covered the setup for using Travis-CI to test perl packages hosted on Github. Includes a sample configuration file and output from a run. The author has made related posts to PerlMonks: RFC: Continuous Integration (CI) for your CPAN modules (for free!) Automate multi-perl unit testing with Perlbrew/Berrybrew

Read Full Post | Make a Comment ( Comments Off on Testing Perl with Travis-CI )

Liked it here?
Why not try sites on the blogroll...