
array parameters to C lib
Hi all,
I'm creating a perl mod wrapper around an existing C library, and one
of the things I need to pass in is an array of floats. This presents
two problems - first, C's float type isn't in the existing typemap, and
I haven't had any success creating my own typemap entries. Secondly I
don't know how to pass an array of any data type from perl to C. Can
somewhere give me some quick info on how to solve these two problems or
some info on where I can find existing code that does either or both of
these?
Thanks
Tom