summaryrefslogtreecommitdiffstats
path: root/source/core/slang-writer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-writer.cpp')
-rw-r--r--source/core/slang-writer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/core/slang-writer.cpp b/source/core/slang-writer.cpp
index 2f694aeec..0688bea6c 100644
--- a/source/core/slang-writer.cpp
+++ b/source/core/slang-writer.cpp
@@ -57,6 +57,11 @@ SlangResult WriterHelper::put(const char* text)
return m_writer->write(text, ::strlen(text));
}
+SlangResult WriterHelper::put(const UnownedStringSlice& text)
+{
+ return m_writer->write(text.begin(), text.size());
+}
+
/* !!!!!!!!!!!!!!!!!!!!!!!!! BaseWriter !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
ISlangUnknown* BaseWriter::getInterface(const Guid& guid)