/* Otherwise we try to go via an FSRef. On OSX we go all the way,
** on OS9 we accept only a real FSRef object
*/
-#if TARGET_API_MAX_OSX
- if ( myPyMac_GetFSRef(v, &fsr) >= 0 ) {
+#if TARGET_API_MAC_OSX
+ if ( myPyMac_GetFSRef(v, &fsr) ) {
#else
if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) {
#endif
# It uses the "bgen" package to generate C code.
# The function specifications are generated by scanning the mamager's header file,
# using the "scantools" package (customized for this particular manager).
+#
+# XXXX TO DO:
+# - implement rawdata initializers
+# - Implement correct missing FSSpec handling for Alias methods
+# - Implement FInfo
import string
/* Otherwise we try to go via an FSRef. On OSX we go all the way,
** on OS9 we accept only a real FSRef object
*/
-#if TARGET_API_MAX_OSX
- if ( myPyMac_GetFSRef(v, &fsr) >= 0 ) {
+#if TARGET_API_MAC_OSX
+ if ( myPyMac_GetFSRef(v, &fsr) ) {
#else
if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) {
#endif