Kaydet (Commit) 1795f29b authored tarafından Jack Jansen's avatar Jack Jansen

Fixed silly typo.

Added comment (to myself) on what still needs to be done.
üst 58fc91f9
...@@ -2394,8 +2394,8 @@ myPyMac_GetFSSpec(PyObject *v, FSSpec *spec) ...@@ -2394,8 +2394,8 @@ myPyMac_GetFSSpec(PyObject *v, FSSpec *spec)
/* Otherwise we try to go via an FSRef. On OSX we go all the way, /* Otherwise we try to go via an FSRef. On OSX we go all the way,
** on OS9 we accept only a real FSRef object ** on OS9 we accept only a real FSRef object
*/ */
#if TARGET_API_MAX_OSX #if TARGET_API_MAC_OSX
if ( myPyMac_GetFSRef(v, &fsr) >= 0 ) { if ( myPyMac_GetFSRef(v, &fsr) ) {
#else #else
if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) { if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) {
#endif #endif
......
...@@ -2,6 +2,11 @@ ...@@ -2,6 +2,11 @@
# It uses the "bgen" package to generate C code. # It uses the "bgen" package to generate C code.
# The function specifications are generated by scanning the mamager's header file, # The function specifications are generated by scanning the mamager's header file,
# using the "scantools" package (customized for this particular manager). # 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 import string
...@@ -157,8 +162,8 @@ myPyMac_GetFSSpec(PyObject *v, FSSpec *spec) ...@@ -157,8 +162,8 @@ myPyMac_GetFSSpec(PyObject *v, FSSpec *spec)
/* Otherwise we try to go via an FSRef. On OSX we go all the way, /* Otherwise we try to go via an FSRef. On OSX we go all the way,
** on OS9 we accept only a real FSRef object ** on OS9 we accept only a real FSRef object
*/ */
#if TARGET_API_MAX_OSX #if TARGET_API_MAC_OSX
if ( myPyMac_GetFSRef(v, &fsr) >= 0 ) { if ( myPyMac_GetFSRef(v, &fsr) ) {
#else #else
if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) { if ( PyArg_Parse(v, "O&", FSRef_Convert, &fsr) ) {
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment