Can you please give me an example of FFIPlugin being used to call a shared object library?
===== Original Message From Bert Freudenberg bert@isg.cs.uni-magdeburg.de
=====
On Thu, 1 Feb 2001, Elzbieta Chludzinska wrote:
I want to call a shared object (on Linux) from Squeak. I've been reading the chapter in the "Squeak Book" entitled "Extending the Squeak Virtual Machine". I've read about the "Slang" dialect of Squeak and using it to generate C code - cool!
My question is: If I have a *.so that I want to call from Squeak, should I build another *.so (using Slang) that calls the *.so I need to invoke? Is there another way? Can the *.so be called directly - in some fashion?
Check out FFI - http://minnow.cc.gatech.edu/squeak/1414
-- Bert
Elzbieta
On Thursday 01 February 2001 11:20, Elzbieta Chludzinska wrote:
Can you please give me an example of FFIPlugin being used to call a shared object library?
Look at the X11GC class.
squeak-dev@lists.squeakfoundation.org