Re: 'native' and pointers to pointers

2017-04-02 Thread Michel Pelletier
Thanks for the explanation Erik! Sorry I misspelled your name. :) On Sun, Apr 2, 2017 at 12:11 PM, Erik Gustafson wrote: > Michel, > > Here's a link to exactly what you need: > > https://github.com/michelp/0pl/blob/master/zmq/zctx.l#L5 > > > I totally forgot about

Re: 'native' and pointers to pointers

2017-04-02 Thread Michel Pelletier
Hi Eric, Here's a link to exactly what you need: https://github.com/michelp/0pl/blob/master/zmq/zctx.l#L5 There's a thread in the archives where Alexander explains it to me, unfortunately it's been a while I don't remember all the details myself... -Michel On Sun, Apr 2, 2017 at 10:00 AM,

'native' and pointers to pointers

2017-04-02 Thread Erik Gustafson
Hi list, I'm playing with PicoLisp's 'native' functionality and https://github.com/zeromq/zyre. Most everything works as expected. Trivial example: : (setq Node (native "libzyre.so" "zyre_new" 'N "Node")) -> 9322320 # Node set to pointer : (native "libzyre.so" "zyre_uuid" 'S Node)