Core: Blackfin CPU support

git-svn-id: svn://ultimatepp.org/upp/trunk@1447 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-07-26 15:41:41 +00:00
commit 29701e5eb8
12 changed files with 477 additions and 373 deletions

View file

@ -684,11 +684,16 @@ public:
friend WString operator+(const WString& a, char b) { WString c(a); c += b; return c; }
friend WString operator+(char a, const WString& b) { WString c(a, 1); c += b; return c; }
#ifndef _HAVE_NO_STDWSTRING
WString(const std::wstring& s);
operator std::wstring() const;
#endif
};
#ifndef _HAVE_NO_STDWSTRING
inline std::wstring to_string(const WString& s) { return std::wstring(s.Begin(), s.End()); }
#endif
class WStringBuffer : NoCopy {
wchar *begin;