stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r385216 - /incubator/stdcxx/trunk/tests/include/rw_char.h
Date Sun, 12 Mar 2006 00:25:19 GMT
Author: sebor
Date: Sat Mar 11 16:25:18 2006
New Revision: 385216

URL: http://svn.apache.org/viewcvs?rev=385216&view=rev
Log:
2006-03-11  Martin Sebor  <sebor@roguewave.com>

	* rw_char.h (rw_widen): Documented behavior.

Modified:
    incubator/stdcxx/trunk/tests/include/rw_char.h

Modified: incubator/stdcxx/trunk/tests/include/rw_char.h
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/include/rw_char.h?rev=385216&r1=385215&r2=385216&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/include/rw_char.h (original)
+++ incubator/stdcxx/trunk/tests/include/rw_char.h Sat Mar 11 16:25:18 2006
@@ -260,8 +260,16 @@
 };
 
 
+// widens the string src into the buffer dst; when (dst != 0) the last
+// character in the buffer is guaranteed to be NUL, regardless of the
+// value of str [len]
+// when (len == SIZE_MAX && src != 0), computes len as if by evaluating
+// len = strlen(src)
+// returns dst
 _TEST_EXPORT
-char* rw_widen (char*, const char*, _RWSTD_SIZE_T = _RWSTD_SIZE_MAX);
+char* rw_widen (char*         /* dst */,
+                const char*   /* src */,
+                _RWSTD_SIZE_T /* len */ = _RWSTD_SIZE_MAX);
 
 #ifndef _RWSTD_WCHAR_T
 



Mime
View raw message