From 8d4981fcc1c545396df3eac87a3c1a67f3d30038 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Mon, 3 Feb 2020 15:53:56 +0300 Subject: [texo] Abolished dependency on ScriptPP. --- src/script.hpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/script.hpp') diff --git a/src/script.hpp b/src/script.hpp index 029047d..ab2221b 100644 --- a/src/script.hpp +++ b/src/script.hpp @@ -3,22 +3,24 @@ #include "exporter.hpp" + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Texo String Exporter - * Simple utility class to make output into Script Variable, - * which can be easily transformed into C string via c_str method. + * Simple utility class to make output into C string. */ -class TexoExporterString: public TexoExporter { +class TexoString: public TexoExporter { public: - TexoExporterString(ScriptVariable & str); + TexoString(char *&str); bool Put(char c); - bool Put(const ScriptVariable & addon); + bool Put(const char *addon); private: - ScriptVariable & str; + char *&str; + int len; + int size; }; -- cgit v1.2.3