diff options
Diffstat (limited to 'Mac/Modules/snd')
-rw-r--r-- | Mac/Modules/snd/Sndmodule.c | 3 | ||||
-rw-r--r-- | Mac/Modules/snd/sndgen.py | 2 | ||||
-rw-r--r-- | Mac/Modules/snd/sndscan.py | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/Mac/Modules/snd/Sndmodule.c b/Mac/Modules/snd/Sndmodule.c index 866ce75..ba87d0c 100644 --- a/Mac/Modules/snd/Sndmodule.c +++ b/Mac/Modules/snd/Sndmodule.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 <Sound.h> diff --git a/Mac/Modules/snd/sndgen.py b/Mac/Modules/snd/sndgen.py index 323f637..c984e0c 100644 --- a/Mac/Modules/snd/sndgen.py +++ b/Mac/Modules/snd/sndgen.py @@ -1,4 +1,4 @@ -# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Sound.h' +# Generated from 'Sap:CW8 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Sound.h' f = SndFunction(void, 'SetSoundVol', (short, 'level', InMode), diff --git a/Mac/Modules/snd/sndscan.py b/Mac/Modules/snd/sndscan.py index f28c48e..8db540a 100644 --- a/Mac/Modules/snd/sndscan.py +++ b/Mac/Modules/snd/sndscan.py @@ -4,13 +4,14 @@ import addpack addpack.addpack(':Tools:bgen:bgen') +from bgenlocations import TOOLBOXDIR from scantools import Scanner def main(): input = "Sound.h" output = "sndgen.py" - defsoutput = "Sound.py" + defsoutput = TOOLBOXDIR + "Sound.py" scanner = SoundScanner(input, output, defsoutput) scanner.scan() scanner.close() |