X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fdebug%2Fbacktrace.h;h=98aa4d8cdd9736291253cecf403b10d75bf43b2a;hp=67cf62fc9c70a8c5a3cefd4f125b5a35cc39d2da;hb=HEAD;hpb=122846f0881673770d88eff7d925ecf25c01b62e diff --git a/source/debug/backtrace.h b/source/debug/backtrace.h index 67cf62f..b8e06af 100644 --- a/source/debug/backtrace.h +++ b/source/debug/backtrace.h @@ -4,16 +4,17 @@ #include #include #include +#include namespace Msp { namespace Debug { -class Backtrace +class MSPCORE_API Backtrace { public: struct StackFrame { - void *address = 0; + void *address = nullptr; std::string file; std::string symbol; }; @@ -27,8 +28,8 @@ public: static Backtrace create(); }; -std::ostream &operator<<(std::ostream &, const Backtrace &); -std::ostream &operator<<(std::ostream &, const Backtrace::StackFrame &); +MSPCORE_API std::ostream &operator<<(std::ostream &, const Backtrace &); +MSPCORE_API std::ostream &operator<<(std::ostream &, const Backtrace::StackFrame &); } // namespace Debug } // namespace Msp