Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-02-08
16:06 • Ticket [513947ffff] TIP 27: re-open Tcl_DStrings status still Closed with 2 ... artifact: 0acb29fe7f user: dkf
09:59 • Closed ticket [513947ffff]. artifact: 04b302d80c user: dgp
07:41 • Ticket [513947ffff]: 5 changes artifact: 580bc44afe user: hobbs
2002-02-07
03:22 • Add attachment dstring.patch to ticket [513947ffff] artifact: fa854a9bfd user: dgp
03:22 • Ticket [513947ffff] TIP 27: re-open Tcl_DStrings status still Open with 4 ot... artifact: 7ea2999e22 user: dgp
2002-02-06
20:22 • New ticket [513947ffff]. artifact: dc1d474a5b user: dgp

TIP 27: re-open Tcl_DStrings

Closed / Accepted513947ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-02-06 20:22:37
Based on feedback from users of the Tcl C API,
this patch converts the Tcl functions that
return pointers into a Tcl_DString back so they
once again return (char *), and not (CONST char *).
dgpplain2002-02-07 03:22:40
File Added - 17372: dstring.patch
hobbsplain2002-02-08 07:41:40
Logged In: YES 
user_id=72656

I believe this is a good idea, especially based on one 
feedback that noted Tcl_DStringSetLength implied that the 
user should be able to modify the string directly.
dgpplain2002-02-08 09:59:37
Logged In: YES 
user_id=80530

committed to HEAD (8.4a4).

Converted back to 8.3 return values:
Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath,
Tcl_TranslateFileName, Tcl_ExternalToUtfDString,
Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString,
Tcl_GetCwd, Tcl_WinTCharToUtf, Tcl_WinUtfToTChar,
and Tcl_UtfToUniCharDString.
dkf Ticket [513947ffff]: 2 changes [History diff]2002-02-08 16:06:06
Log in (anonymous is fine) to add a comment.

Attachments: