summaryrefslogtreecommitdiff
path: root/src/support/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/string.h')
-rw-r--r--src/support/string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/support/string.h b/src/support/string.h
index 751efdac5..6fe3faf60 100644
--- a/src/support/string.h
+++ b/src/support/string.h
@@ -24,6 +24,7 @@
#include "support/utilities.h"
#include <algorithm>
#include <cctype>
+#include <ostream>
#include <string>
#include <vector>
@@ -152,6 +153,8 @@ inline bool isNumber(const std::string& str) {
return !str.empty() && std::all_of(str.begin(), str.end(), ::isdigit);
}
+std::ostream& printEscaped(std::ostream& os, std::string_view str);
+
} // namespace wasm::String
#endif // wasm_support_string_h