can I somehow call the IONotificationPortCreate in the
Framework that Apple built instead,
$ cd /System/Library/Frameworks/
$ cd IOKit.framework/Versions/Current/
$ file IOKit
... Mach-O dynamically linked shared library ...
$ nm -m IOKit | grep IONotificationPortCreate
... (__TEXT,__text)
can I somehow call the IONotificationPortCreate in the
Framework that Apple built instead,
$ cd /System/Library/Frameworks/
$ cd IOKit.framework/Versions/Current/
$ file IOKit
Also ctypes.util.find_library('CoreFoundation')
--
http://mail.python.org/mailman/listinfo/python-list
gcc -dynamiclib -framework CoreFoundation
builds C code for Mac OS X that I call from Py code.
Can I somehow get rid of the C, such as:
#include CoreFoundation/CoreFoundation.h
void const * kCFTypeDictionaryKeyCallBacks_p(void)
{
return kCFTypeDictionaryKeyCallBacks;
}
?
Thanks in