From 9a23fd146be4ba64b0cb720993bdc73a514fecf2 Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Fri, 18 Oct 2019 12:37:46 +0300 Subject: . --- src/file.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/file.cpp') diff --git a/src/file.cpp b/src/file.cpp index 845c101..ae41bde 100644 --- a/src/file.cpp +++ b/src/file.cpp @@ -1,9 +1,15 @@ #include "file.hpp" -TexoFileExporter::TexoFileExporter(FILE *file): file(file) {} +TexoExporterFile::TexoExporterFile(FILE *file): file(file) +{} -void TexoFileExporter::Put(const char c) +void TexoExporterFile::Put(char c) { fputc(c, file); } + +void TexoExporterFile::Put(const ScriptVariable &str) +{ + fwrite(str.c_str(), 1, str.Length(), file); +} -- cgit v1.2.3