Limbic~Region has asked for the wisdom of the Perl Monks concerning the following question:

All,
I would like to know how to convert code written with Inline::C into regular XS. I remember conversations in the CB about how easy this was to do but I can't remember which monk made these assertions. I think it would make for a good tutorial so for anyone knows how to do this, I would be very appreciative if you could post a "how to".

Update: This request is withdrawn. While there were a number of manual steps in the past, this process has been automated with modules like InlineX::C2XSand InlineX::XS. Thanks Tomte and syphilis.

Cheers - L~R

Replies are listed 'Best First'.
Re: Tutorial request: Inline::C to XS
by Tomte (Priest) on Apr 04, 2007 at 12:49 UTC

    I don't know if it's really up to the task, but have a look at InlineX::XS - it promises "Auto-convert Inline::C based modules to XS".

    regards,
    tomte


    An intellectual is someone whose mind watches itself.
    -- Albert Camus