summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/snd
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-04-12 16:29:23 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-04-12 16:29:23 (GMT)
commit46d9e79de61047ca4b1cc89aeded8a4b47972bf5 (patch)
treeeba59d4ffd410bdf18068b0f3161b2856f4b8498 /Mac/Modules/snd
parent819fa1a794bf642da0b9bc6e345a784ab6bc3fa8 (diff)
downloadcpython-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/snd')
-rw-r--r--Mac/Modules/snd/Sndmodule.c3
-rw-r--r--Mac/Modules/snd/sndgen.py2
-rw-r--r--Mac/Modules/snd/sndscan.py3
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()