Hi Alex, thanks for your tips ... and patience! My lack of experience with C, Pointers and low level programming clearly shows in my questions, and most real world libraries of 'native' wrappers I find don't really implement complex C signatures, so I have to experiment myself.
I'll try to digest your hints and do some more experimentation over the weekend. Luckily, If I manage to wrap one such C function, I can reuse that understanding for many others .... Cheers Thorsten Am Di., 24. Nov. 2020 um 07:50 Uhr schrieb Alexander Burger < a...@software-lab.de>: > On Mon, Nov 23, 2020 at 06:17:46PM +0100, Alexander Burger wrote: > > Something like '("Dx" (24 . 1.0) '(1.0 1.0 2.0 3.0)) could make sense, > if the C > > argument is "double dx[3];". > > oops > > (24 . 1.0) is of course not returning "double dx[3];", but a single double. > > Try (24 1.0 1.0 1.0) or better (24 (1.0 . 3)). > > ☺/ A!ex > > -- > UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe >