Overview
| Artifact ID: | f9d61e179ae02420f6bac69b4a2c8bd33b67bea9 |
|---|---|
| Ticket: | 1194015fffffffffffffffffffffffffffffffff
macro-ize TclFormatInt |
| User & Date: | dgp on 2005-05-02 19:47:35 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Given char *buf; long l; it appears that TclFormatInt(buf, l); is the equivalent of sprintf(buf, "%ld", l); Therefore, I request to make TclFormatInt a macro, #define'd in tclInt.h : #define TclFormatInt(buf, l) sprintf((buf), "%ld", (l)) Some compatibility provisions can be made for the internal stubs table slot currently occupied by the TclFormatInt routine. The comments of TclFormatInt allege: * ...This * procedure has the effect of sprintf(buffer, "%d", n) but is faster. Frankly, I don't believe that. (Even ignoring the "d" for "ld" error.)
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "10. Objects"
- title changed to: "macro-ize TclFormatInt"
- type changed to: "RFE"