On 4/1/2004 5:02 PM, 00056312 wrote:
Hi, I have installed inline and can test scripts but I am having great
difficulty in passing arrays. I have looked at the archives of this
board but haven't found anything which is quite on my level. Perl guts
and stacks in C are not something I've had to deal with before. I have
found one post on this matter and have tried to write a simple test
program, I have included it below. I am trying to integrate a C function into a Perl script I have written,
I simply need to pass in a one dimensional array of doubles and have the
function return a one dimensional array of doubles. If some one would
look at the code below and comment on why the printf's are not working
and maybe (please) add some code which would add one to each member of
the array and make @outputArray equal to it. I need this to work in the
next week or so because my dissertation requires it and am in a bit of a
panic!

You can find working examples in 'perldoc Inline::C-Cookbook'.


Regards,
Randy.



Reply via email to