From: Mikko L. <laz...@us...> - 2004-06-11 17:47:28
|
Update of /cvsroot/rtk/rtk/rtk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30139 Modified Files: String.h Log Message: Fixed bug under MinGW Index: String.h =================================================================== RCS file: /cvsroot/rtk/rtk/rtk/String.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** String.h 10 Mar 2004 12:24:53 -0000 1.7 --- String.h 11 Jun 2004 17:47:19 -0000 1.8 *************** *** 40,46 **** #define _RTK_STRING_H_ 1 ! #include <rtk/Export.h> ! #include <stdlib.h> ! #include <rtk/rchar.h> namespace Rtk { --- 40,45 ---- #define _RTK_STRING_H_ 1 ! #include "Export.h" ! #include "rchar.h" namespace Rtk { *************** *** 102,106 **** @endcode */ ! RTK_API String() : sh(NULL) { } /** Create string filled with chracter c. --- 101,105 ---- @endcode */ ! String() : sh(NULL) { } /** Create string filled with chracter c. *************** *** 108,112 **** * @param repeater How many time 'c' is repeated in string */ ! RTK_API String(RCHAR c, int repeater); /** Create string from ascii/mb character string. --- 107,111 ---- * @param repeater How many time 'c' is repeated in string */ ! String(RCHAR c, int repeater); /** Create string from ascii/mb character string. *************** *** 114,118 **** * @param maxlen Length to copy, if 0 whole string is copied */ ! RTK_API String(const char *s, int maxlen=0); /** Create string from wide character string. --- 113,117 ---- * @param maxlen Length to copy, if 0 whole string is copied */ ! String(const char *s, int maxlen=0); /** Create string from wide character string. *************** *** 120,129 **** * @param maxlen Length to copy, if 0 whole string is copied */ ! RTK_API String(const wchar_t *s, int maxlen=0); /** Copy constructor. */ ! RTK_API String(const String &s); ! RTK_API ~String(); // = Operators --- 119,128 ---- * @param maxlen Length to copy, if 0 whole string is copied */ ! String(const wchar_t *s, int maxlen=0); /** Copy constructor. */ ! String(const String &s); ! ~String(); // = Operators |