Overview
| Artifact ID: | 4303d6151602d8d27eded766b953a69595918529 |
|---|---|
| Ticket: | 218016ffffffffffffffffffffffffffffffffff
Request for Tcl_DStringRewind() |
| User & Date: | nobody on 2000-10-26 00:52:13 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1049 RFE Version: 8.1a2 SubmitDate: '1999-01-15' LastModified: '1999-11-02' Severity: LOW Status: Closed Submitter: pat ChangedBy: hobbs OS: Solaris OSVersion: 2.6 Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-11-02' Name: Jordan Hayes DesiredBehavior: I often find it useful to use a Tcl_DString and, after potentially growing it after adding many strings to it, reusing it without going through the overhead of Tcl_DStringFree(). The idiom I use is just to set dStr.string[0] to '\0' and dStr.length to 0. I think it might be useful to have either a real API to do this, or even just a macro. Patch: generic/tclUtil.c is where it would go, I suppose. There is a Tcl_DStringSetLength which essentially does this. -- 11/02/1999 hobbs
- foundin changed to: "obsolete: 8.1a2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Request for Tcl_DStringRewind()"
- type changed to: "RFE"