Commit 3dc833cc authored by nadro's avatar nadro

Fixed issue with functions for convert from/to UTF8 and shared libs.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4934 dfc29bdd-3216-0410-991c-e03cc46cb475
parent eca46270
...@@ -75,13 +75,13 @@ static inline u32 locale_upper ( u32 x ) ...@@ -75,13 +75,13 @@ static inline u32 locale_upper ( u32 x )
/** The resulting string is always NULL-terminated and well-formed. /** The resulting string is always NULL-terminated and well-formed.
\param len The size of the output buffer in bytes. \param len The size of the output buffer in bytes.
*/ */
void utf8ToWchar(const char *in, wchar_t *out, const u64 len); IRRLICHT_API void utf8ToWchar(const char *in, wchar_t *out, const u64 len);
//! Convert this wchar string to utf-8. //! Convert this wchar string to utf-8.
/** The resulting string is always NULL-terminated and well-formed. /** The resulting string is always NULL-terminated and well-formed.
\param len The size of the output buffer in bytes. \param len The size of the output buffer in bytes.
*/ */
void wcharToUtf8(const wchar_t *in, char *out, const u64 len); IRRLICHT_API void wcharToUtf8(const wchar_t *in, char *out, const u64 len);
template <typename T, typename TAlloc = irrAllocator<T> > template <typename T, typename TAlloc = irrAllocator<T> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment