Made this module compatible with Python2.3, and added a temporary setup

script that allows it to be built for that Python.
This commit is contained in:
Jack Jansen 2003-12-09 14:51:21 +00:00
parent 1dde95dffa
commit 2af4ce8f30
3 changed files with 21 additions and 0 deletions

View file

@ -29,6 +29,10 @@ OptCFStringRef = OpaqueByValueType("CFStringRef", "OptCFStringRefObj")
LSItemInfoRecord = OpaqueType("LSItemInfoRecord", "LSItemInfoRecord")
includestuff = includestuff + """
#if PY_VERSION_HEX < 0x02040000
PyObject *PyMac_GetOSErrException(void);
#endif
#include <ApplicationServices/ApplicationServices.h>
/*