summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/snd/sndsupport.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-08-01 15:26:05 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-08-01 15:26:05 (GMT)
commit5674e4ec17e1945cf11f88963ba3e9190c6ef67d (patch)
treefaf2dfbccda8b8fadbe4047d63880da913964179 /Mac/Modules/snd/sndsupport.py
parentd1f06313f6702ae629f4b6c815eb3b81e4440b72 (diff)
downloadcpython-5674e4ec17e1945cf11f88963ba3e9190c6ef67d.zip
cpython-5674e4ec17e1945cf11f88963ba3e9190c6ef67d.tar.gz
cpython-5674e4ec17e1945cf11f88963ba3e9190c6ef67d.tar.bz2
NumVersion stuff has changed
Diffstat (limited to 'Mac/Modules/snd/sndsupport.py')
-rw-r--r--Mac/Modules/snd/sndsupport.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/Mac/Modules/snd/sndsupport.py b/Mac/Modules/snd/sndsupport.py
index 97a23ad..b3b32f1 100644
--- a/Mac/Modules/snd/sndsupport.py
+++ b/Mac/Modules/snd/sndsupport.py
@@ -79,8 +79,6 @@ SndCallBackUPP = SndCallBackProcPtr
SndCompletionProcPtr = FakeType('(SndCompletionProcPtr)0') # XXX
SndCompletionUPP = SndCompletionProcPtr
-NumVersion = OpaqueByValueType('NumVersion', 'NumVer')
-
##InOutBuf128 = FixedInputOutputBufferType(128)
StateBlock = StructInputOutputBufferType('StateBlock')
@@ -119,23 +117,6 @@ SndCmd_Convert(PyObject *v, SndCommand *pc)
return PyArg_Parse(v, "h", &pc->cmd);
}
-/* Create a NumVersion object (a quintuple of integers) */
-static PyObject *
-NumVer_New(NumVersion nv)
-{
- return Py_BuildValue("iiiii",
- nv.majorRev,
-#ifdef THINK_C
- nv.minorRev,
- nv.bugFixRev,
-#else
- (nv.minorAndBugRev>>4) & 0xf,
- nv.minorAndBugRev & 0xf,
-#endif
- nv.stage,
- nv.nonRelRev);
-}
-
static pascal void SndCh_UserRoutine(SndChannelPtr chan, SndCommand *cmd); /* Forward */
"""