summaryrefslogtreecommitdiff
path: root/src/script.hpp
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-02-03 15:53:56 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-02-03 15:53:56 +0300
commit8d4981fcc1c545396df3eac87a3c1a67f3d30038 (patch)
tree0e4f373313f7b251847fecd1186786574e8d450c /src/script.hpp
parent3032869b86efa52f20ad9840381a37017980f587 (diff)
downloadtexo-8d4981fcc1c545396df3eac87a3c1a67f3d30038.tar
texo-8d4981fcc1c545396df3eac87a3c1a67f3d30038.tar.xz
texo-8d4981fcc1c545396df3eac87a3c1a67f3d30038.zip
[texo] Abolished dependency on ScriptPP.
Diffstat (limited to 'src/script.hpp')
-rw-r--r--src/script.hpp14
1 files changed, 8 insertions, 6 deletions
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;
};