retroforth/ffi-testing/ffi.retro
crc c478882b7f ffi is working now
FossilOrigin-Name: b05ebe6fe6f6c78682289eda20878891671974598be6027e25a1a10a6420edfe
2022-02-15 14:40:15 +00:00

6 lines
104 B
Forth

~~~
'./test.so ffi:open 'test const
'fortytwo test ffi:map-sym '42 const
42 ffi:invoke
n:put nl bye
~~~