summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-06-21 22:07:06 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-06-21 22:07:06 (GMT)
commit8d929aee499ddc289c1af07a090fb6b885d4ae0a (patch)
tree291be3c1a3efc28930163bed90426b97b0915b8d /Mac/Modules/win
parent349a3d3a9a4a25a217e2060bcecc10177fa549da (diff)
downloadcpython-8d929aee499ddc289c1af07a090fb6b885d4ae0a.zip
cpython-8d929aee499ddc289c1af07a090fb6b885d4ae0a.tar.gz
cpython-8d929aee499ddc289c1af07a090fb6b885d4ae0a.tar.bz2
All relevant toolbox modules have now been carbonized.
Diffstat (limited to 'Mac/Modules/win')
-rw-r--r--Mac/Modules/win/Winmodule.c4
-rw-r--r--Mac/Modules/win/winscan.py4
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):