Add C++ traceback to errors

This commit is contained in:
Eduardo Bart
2013-03-12 01:33:45 -03:00
parent 24664714bd
commit 0891e2b30a
5 changed files with 48 additions and 5 deletions

View File

@@ -45,6 +45,7 @@ public:
std::string getCPUName();
double getTotalSystemMemory();
std::string getOSName();
std::string traceback(const std::string& where, int level = 1, int maxDepth = 32);
};
extern Platform g_platform;