diff options
Diffstat (limited to 'Mac/Modules/snd/sndsupport.py')
-rw-r--r-- | Mac/Modules/snd/sndsupport.py | 19 |
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 */ """ |