Changeset d03a386 for libcfa/src/collections/string.cfa
- Timestamp:
- Apr 11, 2025, 1:23:39 AM (6 months ago)
- Branches:
- master
- Children:
- dab6e39
- Parents:
- 570e7ad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/collections/string.cfa
r570e7ad rd03a386 14 14 // 15 15 16 #define _COMPILING_STRING_CFA_ 17 16 18 #include "string.hfa" 17 19 #include "string_res.hfa" … … 40 42 } 41 43 42 void ?{}( string & s, string c ) { // c is a memcpy of the real src string44 PBOOST void ?{}( string & s, string c ) { // c is a memcpy of the real src string 43 45 (s.inner) { malloc() }; 44 46 ?{}( *s.inner, *c.inner, COPY_VALUE ); … … 146 148 // Assignment 147 149 148 string & ?=?( string & s, string c ) {150 PBOOST string & ?=?( string & s, string c ) { 149 151 (*s.inner) = (*c.inner); 150 152 return s; … … 326 328 } 327 329 328 string ?+?( string s, string s2 ) {330 PBOOST string ?+?( string s, string s2 ) { 329 331 string ret = s; 330 332 ret += s2; … … 375 377 } 376 378 377 string ?*?( string s, strmul_factor_t factor ) {379 PBOOST string ?*?( string s, strmul_factor_t factor ) { 378 380 string ret = s; 379 381 ret *= factor;
Note:
See TracChangeset
for help on using the changeset viewer.