Index: compiled/debug.h |
diff --git a/compiled/debug.h b/compiled/debug.h |
index f8cb40203618cbb25f548e22cd4ca167232746ad..ab9099baae63529756063086b13ffeec0dc48d1b 100644 |
--- a/compiled/debug.h |
+++ b/compiled/debug.h |
@@ -17,8 +17,10 @@ |
#pragma once |
+#include "base.h" |
#include "library.h" |
+ABP_NS_BEGIN |
class String; |
struct console_type |
@@ -56,9 +58,13 @@ inline void assert2(bool condition, const String& str) |
#define assert2(condition, str) |
#endif |
+ABP_NS_END |
+ |
#if defined(__EMSCRIPTEN_TRACING__) |
#include <emscripten/trace.h> |
+ABP_NS_BEGIN |
+ |
inline void init_tracing() |
{ |
emscripten_trace_configure("http://127.0.0.1:5000/", "MyApplication"); |
@@ -84,8 +90,12 @@ inline void exit_context() |
emscripten_trace_exit_context(); |
} |
+ABP_NS_END |
+ |
#else // defined(__EMSCRIPTEN_TRACING__) |
+ABP_NS_BEGIN |
+ |
inline void init_tracing() |
{ |
} |
@@ -106,4 +116,6 @@ inline void exit_context() |
{ |
} |
+ABP_NS_END |
+ |
#endif // defined(__EMSCRIPTEN_TRACING__) |