Index: include/core/SkString.h |
diff --git a/include/core/SkString.h b/include/core/SkString.h |
index 291bd65696e2ba344709155e1694ee548a3e8ce8..ce87312f122530a9908dd312fffaa61d9bbd4a9f 100644 |
--- a/include/core/SkString.h |
+++ b/include/core/SkString.h |
@@ -11,6 +11,7 @@ |
#define SkString_DEFINED |
#include "SkScalar.h" |
+#include "SkTArray.h" |
#include <stdarg.h> |
@@ -244,4 +245,7 @@ template <> inline void SkTSwap(SkString& a, SkString& b) { |
a.swap(b); |
} |
+// Split str on any characters in delimiters into out. (Think, strtok with a sane API.) |
+void SkStrSplit(const char* str, const char* delimiters, SkTArray<SkString>* out); |
+ |
#endif |