diff options
Diffstat (limited to 'src/texo.cpp')
-rw-r--r-- | src/texo.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/texo.cpp b/src/texo.cpp index 03b31e7..3610184 100644 --- a/src/texo.cpp +++ b/src/texo.cpp @@ -23,6 +23,16 @@ void TexoExporter::PutStr(const char *str) TexoProducer::TexoProducer(TexoExporter &exporter): exporter(exporter) {} +void TexoProducer::PutStr(const char *str) +{ + if (str) { + while (*str) { + Put(Texo(*str)); + ++str; + } + } +} + TexoImporter::TexoImporter(TexoProducer &producer): producer(producer) {} |