CGII/framework/include/cgv/utils/convert.h
2018-05-17 15:50:03 +02:00

18 lines
370 B
C++

#pragma once
#include "convert_string.h"
#include "lib_begin.h"
namespace cgv {
namespace utils {
/// convert a 8-bit string to a 16-bit string
extern CGV_API std::wstring str2wstr(const std::string& s);
/// convert a 16-bit string to a 8-bit string
extern CGV_API std::string wstr2str(const std::wstring& s);
}
}
#include <cgv/config/lib_end.h>