[squeak-dev] Another FFI challenge

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Wed Jun 17 12:10:54 UTC 2020

Hi Marcel,
I'm not so sure.
It does not look like a constant, but rather a variable.
The type of this variable is a hid_t, but the content can change at runtime
(I believe once at HDF5 initialisation).
So what is needed is to get the address of the variable (exactly like we
lookup address of a function), then dereference it to get the contents...

Le mer. 17 juin 2020 à 12:52, Marcel Taeumel <marcel.taeumel at hpi.de> a
écrit :

> Hi Nicolas,
> that's like to already be covered by ExternalPool. :-) I tried to write a
> lot of documentation on how to use it in the class comment.
> Best,
> Marcel
> Am 17.06.2020 12:50:24 schrieb Nicolas Cellier <
> nicolas.cellier.aka.nice at gmail.com>:
> Hi all, Marcel,
> yet another basic requirement:
> https://stackoverflow.com/questions/62427197/how-one-refers-to-an-external-global-variable-in-squeak-ffi
> I did not even try to inquire the implementation...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200617/584c1dde/attachment.html>

More information about the Squeak-dev mailing list