summaryrefslogtreecommitdiffstats
path: root/PC/clinic
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-09-05 21:31:21 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-09-05 21:31:21 (GMT)
commitae8298bfb78eebc6c1bf914c89ec397121640a94 (patch)
tree848b6d5390ebab9d35a64322ce585f2dbafa2096 /PC/clinic
parent0e76e67246b4e6e6bb15d04748f40ed96e405d5c (diff)
downloadcpython-ae8298bfb78eebc6c1bf914c89ec397121640a94.zip
cpython-ae8298bfb78eebc6c1bf914c89ec397121640a94.tar.gz
cpython-ae8298bfb78eebc6c1bf914c89ec397121640a94.tar.bz2
Closes #11620: Fix support for SND_MEMORY in winsound.PlaySound.
Based on a patch by Tim Lesher.
Diffstat (limited to 'PC/clinic')
-rw-r--r--PC/clinic/winsound.c.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/PC/clinic/winsound.c.h b/PC/clinic/winsound.c.h
index cdb2045..a4c3938 100644
--- a/PC/clinic/winsound.c.h
+++ b/PC/clinic/winsound.c.h
@@ -17,16 +17,16 @@ PyDoc_STRVAR(winsound_PlaySound__doc__,
{"PlaySound", (PyCFunction)winsound_PlaySound, METH_VARARGS, winsound_PlaySound__doc__},
static PyObject *
-winsound_PlaySound_impl(PyObject *module, Py_UNICODE *sound, int flags);
+winsound_PlaySound_impl(PyObject *module, PyObject *sound, int flags);
static PyObject *
winsound_PlaySound(PyObject *module, PyObject *args)
{
PyObject *return_value = NULL;
- Py_UNICODE *sound;
+ PyObject *sound;
int flags;
- if (!PyArg_ParseTuple(args, "Zi:PlaySound",
+ if (!PyArg_ParseTuple(args, "Oi:PlaySound",
&sound, &flags)) {
goto exit;
}
@@ -100,4 +100,4 @@ winsound_MessageBeep(PyObject *module, PyObject *args)
exit:
return return_value;
}
-/*[clinic end generated code: output=1044b2adf3c67014 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=b999334e2e444ad2 input=a9049054013a1b77]*/