diff options
Diffstat (limited to 'Mac/Modules/win')
-rw-r--r-- | Mac/Modules/win/Winmodule.c | 4 | ||||
-rw-r--r-- | Mac/Modules/win/winscan.py | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/Mac/Modules/win/Winmodule.c b/Mac/Modules/win/Winmodule.c index a03d493..ffd8b0b 100644 --- a/Mac/Modules/win/Winmodule.c +++ b/Mac/Modules/win/Winmodule.c @@ -2240,7 +2240,7 @@ static PyObject *Win_GetCWMgrPort(_self, _args) } #endif -#ifndef TARGET_API_MAC_CARBON_NOTYET +#ifndef TARGET_API_MAC_CARBON static PyObject *Win_IsValidWindowPtr(_self, _args) PyObject *_self; @@ -2480,7 +2480,7 @@ static PyMethodDef Win_methods[] = { "() -> (CGrafPtr wMgrCPort)"}, #endif -#ifndef TARGET_API_MAC_CARBON_NOTYET +#ifndef TARGET_API_MAC_CARBON {"IsValidWindowPtr", (PyCFunction)Win_IsValidWindowPtr, 1, "(GrafPtr grafPort) -> (Boolean _rv)"}, #endif diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py index b0f0fb3..a968688 100644 --- a/Mac/Modules/win/winscan.py +++ b/Mac/Modules/win/winscan.py @@ -63,9 +63,7 @@ class MyScanner(Scanner): 'ValidRect', 'InvalRgn', 'InvalRect', - ]), - ('#ifndef TARGET_API_MAC_CARBON_NOTYET', [ - 'IsValidWindowPtr', + 'IsValidWindowPtr', # I think this is useless for Python, but not sure... ])] def makeblacklisttypes(self): |