in reply to Re^2: Using the perl API in C
in thread Using the perl API in C

You'll probably also have to initialise the interpreter (perl_alloc(), perl_construct() - see perlembed for details), so memory management works.

If you provide a self-contained sample of what you're trying to build, someone here might look into getting it to run... :)

Replies are listed 'Best First'.
Re^4: Using the perl API in C
by halfcountplus (Hermit) on Dec 20, 2010 at 20:18 UTC
    initialise the interpreter

    Yeah, silly me, I'm sure that would be true.

    a self-contained sample

    Nothing complicated, and I don't really need to do it this way, I can use XS.