summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/demangle.h
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-10-29 22:22:47 +1000
committerTim Mayberry <mojofunk@gmail.com>2015-12-01 14:22:38 +1000
commit36fa6703095ec8d562a5ab87269486d82294b4ef (patch)
tree45e3210ece92890b3b162f889aabe83a23f6a46c /libs/pbd/pbd/demangle.h
parent5f4f89fb39236aea59a4c92a0f28622a7224fcb4 (diff)
Rename PBD::symbol_demangle and some variable names to improve readability
Rename PBD::symbol_demangle to demangle_symbol so the transitive verb is infront of the object. Rename some local variables and fix documentation.
Diffstat (limited to 'libs/pbd/pbd/demangle.h')
-rw-r--r--libs/pbd/pbd/demangle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/pbd/pbd/demangle.h b/libs/pbd/pbd/demangle.h
index 1ca2925fd0..98b8bf787c 100644
--- a/libs/pbd/pbd/demangle.h
+++ b/libs/pbd/pbd/demangle.h
@@ -54,17 +54,17 @@ namespace PBD
}
/**
- * @param a mangled symbol/name
+ * @param symbol a mangled symbol/name
* @return a demangled symbol/name
*/
- LIBPBD_API std::string symbol_demangle(const std::string&);
+ LIBPBD_API std::string demangle_symbol(const std::string& symbol);
/**
- * @param a string containing a mangled symbol/name
+ * @param str a string containing a mangled symbol/name
* @return a string with the mangled symbol/name replaced with a demangled
* name
*/
- LIBPBD_API std::string demangle(const std::string&);
+ LIBPBD_API std::string demangle(const std::string& str);
} // namespace