[Pharo-users] [squeak-dev] FFI syntax

Annick Fron list at afceurope.com
Sat Oct 18 16:52:53 UTC 2014


I have tried a version of the examples mentioned in the list, and it works.


But I have still doubts with passing variables by reference (&var in C): this is common in C to allocate a variable, pass its pointer as argument to get the value back, instead of using function returns.


Annick

Le 18 oct. 2014 à 05:12, Chris Muller <ma.chris.m at gmail.com> a écrit :

>> Did you use the 4.5 image *and* the vm from Squeak 4.5 all-in-one?
>> Because I can not get it to work not on linux (ok, ubuntu 10.04 32 Bit I'll
>> try it on
>> a more recent version) and not on windows (Windows 7 32 Bit)
> 
> I tried it with the Cog-Linux-HT-3095 VM.
> 



More information about the Squeak-dev mailing list