summaryrefslogtreecommitdiffstats
path: root/PC/clinic/winsound.c.h
diff options
context:
space:
mode:
Diffstat (limited to 'PC/clinic/winsound.c.h')
-rw-r--r--PC/clinic/winsound.c.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/PC/clinic/winsound.c.h b/PC/clinic/winsound.c.h
index dca5a42..e649363 100644
--- a/PC/clinic/winsound.c.h
+++ b/PC/clinic/winsound.c.h
@@ -27,8 +27,9 @@ winsound_PlaySound(PyModuleDef *module, PyObject *args)
int flags;
if (!PyArg_ParseTuple(args, "Zi:PlaySound",
- &sound, &flags))
+ &sound, &flags)) {
goto exit;
+ }
return_value = winsound_PlaySound_impl(module, sound, flags);
exit:
@@ -61,8 +62,9 @@ winsound_Beep(PyModuleDef *module, PyObject *args)
int duration;
if (!PyArg_ParseTuple(args, "ii:Beep",
- &frequency, &duration))
+ &frequency, &duration)) {
goto exit;
+ }
return_value = winsound_Beep_impl(module, frequency, duration);
exit:
@@ -90,11 +92,12 @@ winsound_MessageBeep(PyModuleDef *module, PyObject *args)
int x = MB_OK;
if (!PyArg_ParseTuple(args, "|i:MessageBeep",
- &x))
+ &x)) {
goto exit;
+ }
return_value = winsound_MessageBeep_impl(module, x);
exit:
return return_value;
}
-/*[clinic end generated code: output=c5b018ac9dc1f500 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=a5f53e42d4396bb4 input=a9049054013a1b77]*/