hi all,

> 3. It is the general problem with libffi which was mentioned by Mike. I don't
> know more about it atm.

I've got access to MacOs again to test libffi interface:

1. trivial test works:
$ pil21 +
: (native "./native.so" "returnbyte" 'B)
-> 255
: 

2. (native "@" ...) will fail because macos has different libc system name:
$ pil21 + 
: (native "@" "getenv" 'S "TERM")
Bad ffi
? 
: (native "libSystem.B.dylib" "getenv" 'S "TERM")
-> "xterm-256color"

In general should be fine.

(mike)

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to