summaryrefslogtreecommitdiffstats
path: root/src/debug/demangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/demangle.h')
-rw-r--r--src/debug/demangle.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/debug/demangle.h b/src/debug/demangle.h
new file mode 100644
index 0000000..ba747cd
--- /dev/null
+++ b/src/debug/demangle.h
@@ -0,0 +1,39 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Inkscape::Debug::demangle - demangle C++ symbol names
+ *
+ * Authors:
+ * MenTaLguY <mental@rydia.net>
+ *
+ * Copyright (C) 2006 MenTaLguY
+ *
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
+
+#ifndef SEEN_INKSCAPE_DEBUG_DEMANGLE_H
+#define SEEN_INKSCAPE_DEBUG_DEMANGLE_H
+
+#include <memory>
+#include <string>
+
+namespace Inkscape {
+
+namespace Debug {
+
+std::shared_ptr<std::string> demangle(char const *name);
+
+}
+
+}
+
+#endif
+/*
+ Local Variables:
+ mode:c++
+ c-file-style:"stroustrup"
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+ indent-tabs-mode:nil
+ fill-column:99
+ End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :