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

Bert Freudenberg bert at freudenbergs.de
Sat Oct 18 17:40:26 UTC 2014


On 18.10.2014, at 09:52, Annick Fron <list at afceurope.com> wrote:

> 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.

Internally, C handles references as pointers. 

- Bert -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4142 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20141018/e30b9c3b/smime.bin


More information about the Squeak-dev mailing list