summaryrefslogtreecommitdiff
path: root/src/file.cpp
blob: ae41bde0b437e64717bac60695685f615b11bc4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "file.hpp"


TexoExporterFile::TexoExporterFile(FILE *file): file(file)
{}

void TexoExporterFile::Put(char c)
{
    fputc(c, file);
}

void TexoExporterFile::Put(const ScriptVariable &str)
{
    fwrite(str.c_str(), 1, str.Length(), file);
}