[squeak-dev] FFI to call Mac Carbon functions
Sean P. DeNigris
sean at clipperadams.com
Sun May 8 21:19:17 UTC 2011
I want to call DCSGetTermRangeInString[1]:
CFRange DCSGetTermRangeInString (
DCSDictionaryRef dictionary,
CFStringRef textString,
CFIndex offset
);
The problem is I have no idea what to do about the return value and
arguments. That is:
<apicall: ??? 'DCSGetTermRangeInString' ???>
How do I call this function using FFI? Where can I see an example?
Thanks.
Sean
[1] Full doc at
http://developer.apple.com/library/mac/#documentation/UserExperience/Reference/DictionaryServicesRef/Reference/reference.html
--
View this message in context: http://forum.world.st/FFI-to-call-Mac-Carbon-functions-tp3507842p3507842.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|