[squeak-dev] Re: FFI to call Mac Carbon functions

Bert Freudenberg bert at freudenbergs.de
Fri May 20 14:47:05 UTC 2011


On 20.05.2011, at 16:17, Sean P. DeNigris wrote:

> 
> Bert Freudenberg wrote:
>> 
>> Seems broken. On the interpreter VM (4.2.5) I can't even call libc
>> functions. 2 of the FFI tests fail.
>> 
> 
> I have libc working with 4.2.5. Did you either:
> * put a link to the lib in the VM's resources folder? (that's how I got it
> to work)
> * or, change the VM's Info.plist "SqueakPluginsBuiltInOrLocalOnly" key from
> "true" to "false"

No. That explains it.

> Bert Freudenberg wrote:
>> 
>> Not sure if NS* functions are supposed to work.
>> 
> I thought they were just C functions. Is there anything special about them
> that would make them not work?

I guess I confused them with Objective-C methods. No, should be fine. 

- Bert -





More information about the Squeak-dev mailing list