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 <CoreFoundati on/CoreFoundation. h>
void const * kCFTypeDictiona ryKeyCallBacks_ p(void)
{
return &kCFTypeDiction aryKeyCallBacks ;
}
?
Thanks in advance, Pat LaVarre
P.S. In Windows, I duck tedium of this kind by finding the Dll that the
C compiler calls under the covers, e.g., the CreateFile of my Win C
code becomes a kernel32.Create FileW call.
builds C code for Mac OS X that I call from Py code.
Can I somehow get rid of the C, such as:
#include <CoreFoundati on/CoreFoundation. h>
void const * kCFTypeDictiona ryKeyCallBacks_ p(void)
{
return &kCFTypeDiction aryKeyCallBacks ;
}
?
Thanks in advance, Pat LaVarre
P.S. In Windows, I duck tedium of this kind by finding the Dll that the
C compiler calls under the covers, e.g., the CreateFile of my Win C
code becomes a kernel32.Create FileW call.
Comment