On Wed, May 25, 2016 at 11:50 AM, Fernando Santagata <
> When I write a C program I'm able to call that function and I receive the
> strings, so I guess my problem is just a mapping one.
It can also mean a preallocated array of strings, though; C is sloppy about
the difference between pointer-to and array-of. In NativeCall, the former
is Pointer[Str] and the latter is CArray[Str]. From your description, you
want the former.
Does the C API provide a way to free the result, or is it some static
horror that will cause problems in a threaded environment?
brandon s allbery kf8nh sine nomine associates
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net