From f36bd6993f3e7fb71a7cdd71e01416fe8aec0aa6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 19 Mar 2010 02:56:58 +0000 Subject: make a note about win32 C++ sym name demangling git-svn-id: svn://localhost/ardour2/branches/3.0@6775 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/pbd/demangle.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libs/pbd/pbd/demangle.h') diff --git a/libs/pbd/pbd/demangle.h b/libs/pbd/pbd/demangle.h index adace5d46f..5e6f2a1b56 100644 --- a/libs/pbd/pbd/demangle.h +++ b/libs/pbd/pbd/demangle.h @@ -41,6 +41,11 @@ namespace PBD return s; } #endif + + /* Note: on win32, you can use UnDecorateSymbolName. + See http://msdn.microsoft.com/en-us/library/ms681400%28VS.85%29.aspx + */ + return typeid(obj).name(); } } // namespace -- cgit v1.2.3