Re: NativeCall interface for a char ** argument

2016-05-27 Thread Moritz Lenz
Hi, On 25.05.2016 17:35, Fernando Santagata wrote: > Hello, > > Please excuse my naivety, I'm trying to use NativeCall to interface a > Perl6 program with a C library and I have a problem mapping a char ** > argument. > > The C function has this prototype: > > void function(char **arg1, char **

Re: NativeCall interface for a char ** argument

2016-05-27 Thread Fernando Santagata
On Fri, May 27, 2016 at 11:20 AM, Moritz Lenz wrote: > In my experience, "is rw" doesn't always work, and I have no idea when > or why. > > In DBIish (a DB interface with backends for PostgreSQL, mysql, sqlite3 > and Oracle, iirc) we tend to use CArray[Str] for the parameters, see for > example >