| 227 | /////////////////////////////////////////// |
| 228 | |
| 229 | const char *stref_withend(stref_t &aRef) { |
| 230 | assert(aRef.temp == false); |
| 231 | |
| 232 | aRef.temp_end = aRef.start[aRef.length]; |
| 233 | aRef.temp = true; |
| 234 | ((char*)aRef.start)[aRef.length] = '\0'; |
| 235 | |
| 236 | return aRef.start; |
| 237 | } |
| 238 | |
| 239 | /////////////////////////////////////////// |
| 240 |