summaryrefslogtreecommitdiff
path: root/plugins/itanium/python
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-01-05 23:04:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-01-05 23:04:45 (GMT)
commit24398cb372624bf281ee4d9eb07f2a076b3cc664 (patch)
treee5fab56d61b9a03fb8dd56e63b56c3ee404ac490 /plugins/itanium/python
parent9ce85bcdf8da124ad9538875f945ab5c4bb09e1e (diff)
Refreshed the Python documentation for the demanglers.
Diffstat (limited to 'plugins/itanium/python')
-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,