[Cuis-dev] I need some advice with FFI

Nicola Mingotti nmingotti at gmail.com
Sat Nov 6 11:01:15 PDT 2021


Hi guys,

I was trying to develop my first FFI calls in Cuis today but
I am stuck, i hope some of you can give me some guidance.

In the attached package there are implemented 2 foreign functions
TestClass (class) >> time         # working
TestClass (class) >> localtime    # broken

---- interactions ----------
TestClass time.                                      " ok "
TestClass localtime2: (TestClass time).              " broken "
-----------------------------

The error i get is "can not use integer as pointer".

Any ideas ?

bye
Nicola
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211106/8a6eccfb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATest.pck.st
Type: application/vnd.sailingtracker.track
Size: 5999 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20211106/8a6eccfb/attachment-0001.bin>


More information about the Cuis-dev mailing list