summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r--plugins/pychrysalide/helpers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/pychrysalide/helpers.h b/plugins/pychrysalide/helpers.h
index ca393db..d30a307 100644
--- a/plugins/pychrysalide/helpers.h
+++ b/plugins/pychrysalide/helpers.h
@@ -83,11 +83,11 @@ bool register_python_module_object(PyObject *, PyTypeObject *);
* Aide à la définition de documentation pour Python.
*/
-#define PYTHON_METHOD_DEF(name, args, flags, meth, doc) \
+#define PYTHON_METHOD_DEF(name, args, flags, base, doc) \
{ \
- name, meth, \
+ #name, base ## _ ## name, \
flags, \
- name "(" args ")\n--\n\n" doc \
+ #name "(" args ")\n--\n\n" doc \
}
#define PYTHON_GETSET_DEF(name, get, set, doc, closure) \