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

Igor Stasenko siguctua at gmail.com
Fri May 20 14:53:54 UTC 2011


On 20 May 2011 16:47, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
> 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.

Btw, what this flag supposed to do?
Because name are really confusing.

>
>> 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 -
>
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list