/*
* KLGetKeyboardLayoutCount() *** DEPRECATED ***
*
* Deprecated:
* Use TISCreateInputSourceList API to create a list of input
* sources that match specified properties.
*
* Summary:
* Returns the number of keyboard layouts.
*
* Mac OS X threading:
* Not thread safe
*
* Parameters:
*
* oCount:
* On exit, the number of keyboard layouts
*
* Availability:
* Mac OS X: in version 10.2 and later in Carbon.framework [32-bit only] but deprecated in 10.5
* CarbonLib: not available in CarbonLib 1.x, is available on Mac OS X version 10.2 and later
* Non-Carbon CFM: not available
*/
That would imply you need to say
module: 'Carbon.framework'
If you look at the usage of FFI in Sophie, you'll find *lots* of examples
just download the app run and tap "cmd-'.'" to get a debugger up.
But I think there was an example in the FFI stuff once. Say:
apicall: void 'GetMouse' (MacPoint) module:'Carbon.framework'>
You can also set SqueakDebug to 1 in the Squeak VM's info.plist setting to
get the VM to print lots more diagnostics info to the Console when it attempts to run for the entry point name .