diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-04-12 16:29:23 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-04-12 16:29:23 (GMT) |
commit | 46d9e79de61047ca4b1cc89aeded8a4b47972bf5 (patch) | |
tree | eba59d4ffd410bdf18068b0f3161b2856f4b8498 /Mac/Modules/win | |
parent | 819fa1a794bf642da0b9bc6e345a784ab6bc3fa8 (diff) | |
download | cpython-46d9e79de61047ca4b1cc89aeded8a4b47972bf5.zip cpython-46d9e79de61047ca4b1cc89aeded8a4b47972bf5.tar.gz cpython-46d9e79de61047ca4b1cc89aeded8a4b47972bf5.tar.bz2 |
bgen-generators now drop the python definition file straight in the
Lib:toolbox folder.
Diffstat (limited to 'Mac/Modules/win')
-rw-r--r-- | Mac/Modules/win/Winmodule.c | 3 | ||||
-rw-r--r-- | Mac/Modules/win/wingen.py | 2 | ||||
-rw-r--r-- | Mac/Modules/win/winscan.py | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/Mac/Modules/win/Winmodule.c b/Mac/Modules/win/Winmodule.c index afac85f..cfa23c7 100644 --- a/Mac/Modules/win/Winmodule.c +++ b/Mac/Modules/win/Winmodule.c @@ -40,6 +40,9 @@ extern int GrafObj_Convert(PyObject *, GrafPtr *); extern PyObject *BMObj_New(BitMapPtr); extern int BMObj_Convert(PyObject *, BitMapPtr *); +extern PyObject *PMObj_New(PixMapHandle); +extern int PMObj_Convert(PyObject *, PixMapHandle *); + extern PyObject *WinObj_WhichWindow(WindowPtr); #include <Windows.h> diff --git a/Mac/Modules/win/wingen.py b/Mac/Modules/win/wingen.py index 8841b1e..36d2851 100644 --- a/Mac/Modules/win/wingen.py +++ b/Mac/Modules/win/wingen.py @@ -1,4 +1,4 @@ -# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Windows.h' +# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Windows.h' f = Function(RgnHandle, 'GetGrayRgn', ) diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py index 20771b0..2d332ad 100644 --- a/Mac/Modules/win/winscan.py +++ b/Mac/Modules/win/winscan.py @@ -1,13 +1,14 @@ # Scan an Apple header file, generating a Python file of generator calls. import addpack addpack.addpack(':Tools:bgen:bgen') +from bgenlocations import TOOLBOXDIR from scantools import Scanner def main(): input = "Windows.h" output = "wingen.py" - defsoutput = "Windows.py" + defsoutput = TOOLBOXDIR + "Windows.py" scanner = MyScanner(input, output, defsoutput) scanner.scan() scanner.close() |