[Newbies] How to make FFI work?

David T. Lewis lewis at mail.msen.com
Thu Sep 8 01:59:10 UTC 2011


On Wed, Sep 07, 2011 at 10:41:33PM +0200, Levente Uzonyi wrote:
> On Wed, 7 Sep 2011, Overcomer Man wrote:
> 
> >FFI - Foriegn Function Interface example given at
> >http://wiki.squeak.org/squeak/2422 fails to compile under a test class, so
> >it can't work.  The error is expecting a '>' which implies the apicall is
> >wrong.  Since it's example code, it's likely correct and the parser is not
> >working.
> 
> Note that this example only works on Windows and FFI only supports 32-bit 
> operating systems.

Well, strictly speaking that is not exactly the case:

  http://bugs.squeak.org/view.php?id=7237

FFI does work on 64-bit platforms, but it will take some effort to
make this generally available on the standard VMs.

Dave



More information about the Beginners mailing list