Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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: