UtfString.h
Go to the documentation of this file.00001 #ifndef UTF_STRING_H
00002 #define UTF_STRING_H
00003
00013 #include <SDL.h>
00014 #include <stddef.h>
00015 #include <vector>
00016
00017
00018 namespace beego {
00019 extern size_t ustrlen(const Uint16* str);
00020 extern int ustrncmp(const Uint16* a, const Uint16* b, size_t n);
00021 extern void ustrcat(std::vector<Uint16>& dest, const char* src);
00022 extern void ustrcat(std::vector<Uint16>& dest, const Uint16* src);
00023 extern bool isHiragana(const Uint16 wch);
00024 extern void uni2char(std::vector<char>& text, std::vector<Uint16>& utext);
00025 };
00026
00027 #endif
00028