added typedef std::string utf8_string...

and typedef std::vector<wchar_t> ucs4_string to make the type of
encoding clear. Feel free to use them or not.
This commit is contained in:
Jon Daniel 2005-03-04 13:10:46 +00:00
parent 99e81e10b3
commit 9e650863a4

View file

@ -22,10 +22,11 @@
//the type we use to represent Unicode strings.
typedef std::vector<wchar_t> wide_string;
//if we append a 0 to that one we can pass it to SDL_ttf
//as a const Uint16*
typedef std::vector<Uint16> ucs2_string;
typedef std::vector<wchar_t> ucs4_string;
typedef std::string utf8_string;
namespace utils {