summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-05-30 10:59:22 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-05-30 10:59:22 (GMT)
commit8d822539c4a5625ec57fc440f0ad8c6c1057b2ca (patch)
tree0fd478aac6796a479a8f8f2e826bdfdf0cdf9e72 /plugins
parentb66cda8ef8be6d9929683ab5a1b22bdfe4b22849 (diff)
Improved the Python definition for the METH_KEYWORDS functions.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pychrysalide/helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysalide/helpers.h b/plugins/pychrysalide/helpers.h
index d30a307..4ffb447 100644
--- a/plugins/pychrysalide/helpers.h
+++ b/plugins/pychrysalide/helpers.h
@@ -85,7 +85,7 @@ bool register_python_module_object(PyObject *, PyTypeObject *);
#define PYTHON_METHOD_DEF(name, args, flags, base, doc) \
{ \
- #name, base ## _ ## name, \
+ #name, (PyCFunction)base ## _ ## name, \
flags, \
#name "(" args ")\n--\n\n" doc \
}