CGII/framework/include/cgv/utils/convert.h

18 lines
361 B
C
Raw Normal View History

2018-05-17 13:50:03 +00:00
#pragma once
#include "convert_string.h"
#include "lib_begin.h"
namespace cgv {
namespace utils {
2018-05-17 14:01:02 +00:00
/// 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);
}
}
2018-05-17 13:50:03 +00:00
#include <cgv/config/lib_end.h>