summaryrefslogtreecommitdiff
path: root/Modules/clinic/_lzmamodule.c.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-07 18:20:03 +0300
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-07 18:20:03 +0300
commite8525693071b9965161d6664cc149d9cf2b99054 (patch)
tree5450f6e82f3204ae4cd9578ebb56dd3d64ea4674 /Modules/clinic/_lzmamodule.c.h
parent5f9430dff2e62173364aafee59424e6d2f39d093 (diff)
parentee021560b19d20eeea7c66c30003973f21381cdb (diff)
downloadcpython-e8525693071b9965161d6664cc149d9cf2b99054.tar.gz
- Issue #27332: Fixed the type of the first argument of module-level functions
generated by Argument Clinic. Patch by Petr Viktorin.
Diffstat (limited to 'Modules/clinic/_lzmamodule.c.h')
-rw-r--r--Modules/clinic/_lzmamodule.c.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/Modules/clinic/_lzmamodule.c.h b/Modules/clinic/_lzmamodule.c.h
index b78dbcd06c..899d5c0e33 100644
--- a/Modules/clinic/_lzmamodule.c.h
+++ b/Modules/clinic/_lzmamodule.c.h
@@ -168,10 +168,10 @@ PyDoc_STRVAR(_lzma_is_check_supported__doc__,
{"is_check_supported", (PyCFunction)_lzma_is_check_supported, METH_O, _lzma_is_check_supported__doc__},
static PyObject *
-_lzma_is_check_supported_impl(PyModuleDef *module, int check_id);
+_lzma_is_check_supported_impl(PyObject *module, int check_id);
static PyObject *
-_lzma_is_check_supported(PyModuleDef *module, PyObject *arg)
+_lzma_is_check_supported(PyObject *module, PyObject *arg)
{
PyObject *return_value = NULL;
int check_id;
@@ -197,10 +197,10 @@ PyDoc_STRVAR(_lzma__encode_filter_properties__doc__,
{"_encode_filter_properties", (PyCFunction)_lzma__encode_filter_properties, METH_O, _lzma__encode_filter_properties__doc__},
static PyObject *
-_lzma__encode_filter_properties_impl(PyModuleDef *module, lzma_filter filter);
+_lzma__encode_filter_properties_impl(PyObject *module, lzma_filter filter);
static PyObject *
-_lzma__encode_filter_properties(PyModuleDef *module, PyObject *arg)
+_lzma__encode_filter_properties(PyObject *module, PyObject *arg)
{
PyObject *return_value = NULL;
lzma_filter filter = {LZMA_VLI_UNKNOWN, NULL};
@@ -230,11 +230,11 @@ PyDoc_STRVAR(_lzma__decode_filter_properties__doc__,
{"_decode_filter_properties", (PyCFunction)_lzma__decode_filter_properties, METH_VARARGS, _lzma__decode_filter_properties__doc__},
static PyObject *
-_lzma__decode_filter_properties_impl(PyModuleDef *module, lzma_vli filter_id,
+_lzma__decode_filter_properties_impl(PyObject *module, lzma_vli filter_id,
Py_buffer *encoded_props);
static PyObject *
-_lzma__decode_filter_properties(PyModuleDef *module, PyObject *args)
+_lzma__decode_filter_properties(PyObject *module, PyObject *args)
{
PyObject *return_value = NULL;
lzma_vli filter_id;
@@ -254,4 +254,4 @@ exit:
return return_value;
}
-/*[clinic end generated code: output=804aed7d196ba52e input=a9049054013a1b77]*/
+/*[clinic end generated code: output=25bf57a0845d147a input=a9049054013a1b77]*/