stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r629937 - /stdcxx/trunk/tests/src/braceexp.cpp
Date Thu, 21 Feb 2008 19:13:36 GMT
Author: faridz
Date: Thu Feb 21 11:13:35 2008
New Revision: 629937

URL: http://svn.apache.org/viewvc?rev=629937&view=rev
Log:
2008-02-21  Farid Zaripov  <farid_zaripov@epam.com>

	* tests/src/braceexp.cpp: #defined _RWSTD_TEST_SRC macro, #included <rw_braceexp.h>.
	(rw_brace_expand): Defined as _TEST_EXPORT.

Modified:
    stdcxx/trunk/tests/src/braceexp.cpp

Modified: stdcxx/trunk/tests/src/braceexp.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/src/braceexp.cpp?rev=629937&r1=629936&r2=629937&view=diff
==============================================================================
--- stdcxx/trunk/tests/src/braceexp.cpp (original)
+++ stdcxx/trunk/tests/src/braceexp.cpp Thu Feb 21 11:13:35 2008
@@ -1,6 +1,11 @@
+// expand _TEST_EXPORT macros
+#define _RWSTD_TEST_SRC
+
 #include <stdlib.h>
 #include <string.h>
 
+#include <rw_braceexp.h>
+
 
 inline int _rw_is_digit (int ch)
 {
@@ -698,9 +703,8 @@
     return true;
 }
 
-//
-char* rw_brace_expand (const char* brace_expr,
-                       char* s, _RWSTD_SIZE_T n, char sep)
+_TEST_EXPORT char*
+rw_brace_expand (const char* brace_expr, char* s, _RWSTD_SIZE_T n, char sep)
 {
     if (!brace_expr)
         return 0;



Mime
View raw message