andreas.raab at gmx.de
Fri Sep 1 16:35:37 UTC 2006
Diego Fernandez wrote:
> An off topic question:
> I never used FFI, It's possible to make function calls like in the
> example shown above, or I must to use the special syntax: <...> ?
Why anyone would want to do this is beyond me, but here you go:
aFunction := ExternalLibraryFunction
callType: ExternalFunction callTypeAPI
returnType: ExternalType bool
ExternalType char asPointerType.
aFunction invokeWith: address with: 0.
More information about the Squeak-dev