Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME

This commit is contained in:
Sam Lantinga 2010-08-22 12:39:27 -07:00
commit 1f8dacabd7
60 changed files with 3930 additions and 77 deletions

View file

@ -472,6 +472,19 @@ extern DECLSPEC size_t SDLCALL SDL_strlen(const char *string);
extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t * string);
#endif
#ifdef HAVE_WCSLCPY
#define SDL_wcslcpy wcslcpy
#else
extern DECLSPEC size_t SDLCALL SDL_wcslcpy(wchar_t *dst, const wchar_t *src, size_t maxlen);
#endif
#ifdef HAVE_WCSLCAT
#define SDL_wcslcat wcslcat
#else
extern DECLSPEC size_t SDLCALL SDL_wcslcat(wchar_t *dst, const wchar_t *src, size_t maxlen);
#endif
#ifdef HAVE_STRLCPY
#define SDL_strlcpy strlcpy
#else
@ -479,6 +492,9 @@ extern DECLSPEC size_t SDLCALL SDL_strlcpy(char *dst, const char *src,
size_t maxlen);
#endif
extern DECLSPEC size_t SDLCALL SDL_utf8strlcpy(char *dst, const char *src,
size_t dst_bytes);
#ifdef HAVE_STRLCAT
#define SDL_strlcat strlcat
#else