X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fbinary.cpp;h=229a98eb5bfe31e3903eba79e623de38ae9ca718;hb=6f30c5ef957e1775ff7e39a41e1e1aa99864dbd1;hp=198121ae60070a66bd39158d6689fb1968b75699;hpb=b6d1042a84c04d3844f75d7fb4da11a8ff6a2896;p=meshio%2Fmeshio.git diff --git a/src/binary.cpp b/src/binary.cpp index 198121a..229a98e 100644 --- a/src/binary.cpp +++ b/src/binary.cpp @@ -124,6 +124,11 @@ FileWriter::FileWriter(const char *path) io_=fopen(path, "wb"); } +FileWriter::FileWriter(const wchar_t *path) +{ + io_=_wfopen(path, L"wb"); +} + FileWriter::~FileWriter() { fclose(io_);