FFI - can I access external constants?
Andreas Raab
andreas.raab at gmx.de
Tue Feb 13 21:34:30 UTC 2007
Jim McLoughlin wrote:
> I want to access some constant structures defined in my external lib.
> If there was a function that returned them, it would be no problem,
> but I don't see any obvious way to directly access them.
Unfortunately, there isn't. The FFI doesn't expose the direct equivalent
of dlsym() but only uses it implicitly when invoking an FFI call. I
guess this should be considered a bug...
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|