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