X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fstacktrace.h;h=c5d9743b1e55678ea2f97cbf09f43b4534e9ddfa;hb=3020b224fa2d6e1b6b8a576e8e8e211e0585f2a2;hp=f3c7baf7d78fb6bb72dfec10d2b1ac2f5460244a;hpb=bebe2af95ad9999fdca719450dc2c70cfb849076;p=ardour.git diff --git a/libs/pbd/pbd/stacktrace.h b/libs/pbd/pbd/stacktrace.h index f3c7baf7d7..c5d9743b1e 100644 --- a/libs/pbd/pbd/stacktrace.h +++ b/libs/pbd/pbd/stacktrace.h @@ -34,13 +34,17 @@ #include #endif +#include "pbd/libpbd_visibility.h" + + namespace PBD { - void stacktrace (std::ostream& out, int levels = 0); - void trace_twb(); - std::string demangle (const std::string&); + + LIBPBD_API void stacktrace (std::ostream& out, int levels = 0); + LIBPBD_API void trace_twb(); + LIBPBD_API std::string demangle (const std::string&); template -class thing_with_backtrace +class /*LIBPBD_API*/ thing_with_backtrace { public: thing_with_backtrace () { @@ -109,11 +113,11 @@ private: static Glib::Threads::Mutex all_mutex; }; -template std::list *> PBD::thing_with_backtrace::all; -template Glib::Threads::Mutex PBD::thing_with_backtrace::all_mutex; +template /*LIBPBD_API*/ std::list *> PBD::thing_with_backtrace::all; +template /*LIBPBD_API*/ Glib::Threads::Mutex PBD::thing_with_backtrace::all_mutex; } // namespace PBD - +// JE - !!!!#include "../pbd/stacktrace.impl" #endif /* __libpbd_stacktrace_h__ */