diff options
Diffstat (limited to 'PC')
-rw-r--r-- | PC/winsound.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/PC/winsound.c b/PC/winsound.c index 81e3917..bc30ccc 100644 --- a/PC/winsound.c +++ b/PC/winsound.c @@ -217,12 +217,13 @@ initwinsound(void) { OSVERSIONINFO version; + PyObject *dict; PyObject *module = Py_InitModule3("winsound", sound_methods, sound_module_doc); if (module == NULL) return; - PyObject *dict = PyModule_GetDict(module); + dict = PyModule_GetDict(module); ADD_DEFINE(SND_ASYNC); ADD_DEFINE(SND_NODEFAULT); |