Ticket UUID: | 513947 | |||
Title: | TIP 27: re-open Tcl_DStrings | |||
Type: | Patch | Version: | CONSTify | |
Submitter: | dgp | Created on: | 2002-02-06 20:22:37 | |
Subsystem: | None | Assigned To: | dgp | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2002-02-08 16:06:06 | |
Resolution: | Accepted | Closed By: | dkf | |
Closed on: | 2002-02-08 09:06:06 | |||
Description: |
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 *). | |||
User Comments: |
dgp added on 2002-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. hobbs added on 2002-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. dgp added on 2002-02-07 03:22:40: File Added - 17372: dstring.patch |
Attachments:
- dstring.patch [download] added by dgp on 2002-02-07 03:22:40. [details]