diff options
Diffstat (limited to 'Mac/Modules/snd/Sndmodule.c')
-rw-r--r-- | Mac/Modules/snd/Sndmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/snd/Sndmodule.c b/Mac/Modules/snd/Sndmodule.c index 74951ce..36d9fd2 100644 --- a/Mac/Modules/snd/Sndmodule.c +++ b/Mac/Modules/snd/Sndmodule.c @@ -797,6 +797,10 @@ void initSnd() if (Snd_Error == NULL || PyDict_SetItemString(d, "Error", Snd_Error) != 0) Py_FatalError("can't initialize Snd.Error"); + SndChannel_Type.ob_type = &PyType_Type; + Py_INCREF(&SndChannel_Type); + if (PyDict_SetItemString(d, "SndChannelType", (PyObject *)&SndChannel_Type) != 0) + Py_FatalError("can't initialize SndChannelType"); } /* ========================= End module Snd ========================= */ |