#include <set>
#include "os.hpp"
+using trace::Id;
-namespace trace {
+namespace os {
/*
* Pascal string (with zero terminator optionally omitted)
return backtraceFunctionNamePrefixes.contain(fname);
}
-} /* namespace trace */
+} /* namespace os */
#if defined(ANDROID)
#include "os.hpp"
#include <vector>
-namespace trace {
+namespace os {
/* The following two declarations are copied from Android sources */
return backtraceProvider.parseBacktrace(backtraceProvider.getBacktrace());
}
+} /* namespace os */
+
/* end ANDROID */
#elif defined(__ELF__)
#include <backtrace.h>
-namespace trace {
+namespace os {
return backtraceProvider.getParsedBacktrace();
}
-#endif /* LINUX */
-} /* namespace trace */
+} /* namespace os */
+
+#endif /* __ELF__ */
#endif /* ANDROID or LINUX */