summaryrefslogtreecommitdiff
path: root/plugins/itanium
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/itanium')
-rw-r--r--plugins/itanium/python/demangler.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/plugins/itanium/python/demangler.c b/plugins/itanium/python/demangler.c
index 1838aa1..ee49ade 100644
--- a/plugins/itanium/python/demangler.c
+++ b/plugins/itanium/python/demangler.c
@@ -60,6 +60,17 @@ static PyObject *py_itanium_demangler_new(PyTypeObject *type, PyObject *args, Py
PyObject *result; /* Instance à retourner */
GCompDemangler *demangler; /* Instance à transposer */
+#define ITANIUM_DEMANGLER_DOC \
+ "ItaniumDemangler is an implementation of a demangler suitable for" \
+ " processing one kind of C++ mangled names.\n" \
+ "\n" \
+ "Instances can be created using the following constructor:\n" \
+ "\n" \
+ " ItaniumDemangler()" \
+ "\n" \
+ "The C++-style name-mangling scheme is available at:" \
+ " https://itanium-cxx-abi.github.io/cxx-abi/abi.html#mangling."
+
demangler = g_itanium_demangler_new();
result = pygobject_new(G_OBJECT(demangler));
@@ -102,7 +113,7 @@ PyTypeObject *get_python_itanium_demangler_type(void)
.tp_flags = Py_TPFLAGS_DEFAULT,
- .tp_doc = "PyChrysalide Itanium demangler",
+ .tp_doc = ITANIUM_DEMANGLER_DOC,
.tp_methods = py_itanium_demangler_methods,
.tp_getset = py_itanium_demangler_getseters,