Author: sebor
Date: Wed Jul 11 15:53:42 2007
New Revision: 555427
URL: http://svn.apache.org/viewvc?view=rev&rev=555427
Log:
2007-07-11 Martin Sebor <[EMAIL PROTECTED]>
* wchar.h (swprintf): Corrected a nonconforming signature, introduced
in r554281 to address STDCXX-472, to one taking size_t as the second
argument.
(mbrlen): Corrected signature to take const char* as the first argument.
Modified:
incubator/stdcxx/trunk/include/ansi/wchar.h
Modified: incubator/stdcxx/trunk/include/ansi/wchar.h
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/ansi/wchar.h?view=diff&rev=555427&r1=555426&r2=555427
==============================================================================
--- incubator/stdcxx/trunk/include/ansi/wchar.h (original)
+++ incubator/stdcxx/trunk/include/ansi/wchar.h Wed Jul 11 15:53:42 2007
@@ -232,7 +232,7 @@
// disabled for MSVC 8.0 and beyond to avoid running into its awful
// declaration hackery
-int swprintf (wchar_t*, const wchar_t*, ...);
+int swprintf (wchar_t*, _RWSTD_SIZE_T, const wchar_t*, ...);
# endif // !MSVC || MSVC < 8.0
# undef _RWSTD_NO_SWPRINTF
@@ -266,7 +266,7 @@
# endif // _RWSTD_VA_LIST
# if defined (_RWSTD_NO_MBRLEN) && !defined (_RWSTD_NO_MBRLEN_IN_LIBC)
-_RWSTD_SIZE_T mbrlen (const wchar_t*, _RWSTD_SIZE_T, _RWSTD_MBSTATE_T*);
+_RWSTD_SIZE_T mbrlen (const char*, _RWSTD_SIZE_T, _RWSTD_MBSTATE_T*);
# undef _RWSTD_NO_MBRLEN
# endif // _RWSTD_NO_MBRLEN && !_RWSTD_NO_MBRLEN_IN_LIBC