summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1999-12-14 15:47:01 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1999-12-14 15:47:01 (GMT)
commitb1b78d85d389c55ba4fb59b581e881c3eac2f03e (patch)
tree86ce94934584a2678a6a447b7afbc1f5b6295d94 /Mac/Modules/win
parent13681b73b5d951a8f2c453aa20a2f11d75474d31 (diff)
downloadcpython-b1b78d85d389c55ba4fb59b581e881c3eac2f03e.zip
cpython-b1b78d85d389c55ba4fb59b581e881c3eac2f03e.tar.gz
cpython-b1b78d85d389c55ba4fb59b581e881c3eac2f03e.tar.bz2
Bgen now understands more constant definitions, but that means that a few which are not parseable in Python have to be blacklisted.
Diffstat (limited to 'Mac/Modules/win')
-rw-r--r--Mac/Modules/win/Winmodule.c2
-rw-r--r--Mac/Modules/win/winscan.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/Mac/Modules/win/Winmodule.c b/Mac/Modules/win/Winmodule.c
index f895911..9542447 100644
--- a/Mac/Modules/win/Winmodule.c
+++ b/Mac/Modules/win/Winmodule.c
@@ -713,7 +713,7 @@ static PyObject *WinObj_GetWindowProxyFSSpec(_self, _args)
&outFile);
if (_err != noErr) return PyMac_Error(_err);
_res = Py_BuildValue("O&",
- PyMac_BuildFSSpec, outFile);
+ PyMac_BuildFSSpec, &outFile);
return _res;
}
diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py
index d9ca18b..22f0d1a 100644
--- a/Mac/Modules/win/winscan.py
+++ b/Mac/Modules/win/winscan.py
@@ -41,6 +41,8 @@ class MyScanner(Scanner):
'GetWindowProperty',
'GetWindowPropertySize',
'RemoveWindowProperty',
+ # Constants with funny definitions
+ 'kMouseUpOutOfSlop',
]
def makeblacklisttypes(self):