Overview
| Artifact ID: | b2f5a5625620693da4c186196730bd1c365ab24ee8bf6c3c9aac7363d3f27936 |
|---|---|
| Ticket: | 3f9b4e0c812462ccd2a9b17bd1c13c834e811848
CrtObjCmd.3, NRE.3, SplitList.3: constify cmdName, list |
| User & Date: | chrstphrchvz on 2021-05-24 16:33:39 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
The functions documented in CrtObjCmd.3 and NRE.3 have expected <tt>const char *cmdName</tt> parameters for a long time (permanently as of [dc58eb7219]). Should the documentation reflect this? Maybe it was supposed to as of [94bf67038b] (as done for CrtAlias.3, CrtCommand.3, TraceCmd.3). <pre> --- doc/CrtObjCmd.3.orig +++ doc/CrtObjCmd.3 @@ -46,7 +46,7 @@ Tcl_Command .AS Tcl_CmdDeleteProc *deleteProc in/out .AP Tcl_Interp *interp in Interpreter in which to create a new command or that contains a command. <span style="color:red">-.AP char *cmdName in</span> <span style="color:green">+.AP "const char" *cmdName in</span> Name of command. .AP Tcl_ObjCmdProc *proc in Implementation of the new command: \fIproc\fR will be called whenever --- doc/NRE.3.orig +++ doc/NRE.3 @@ -40,7 +40,7 @@ void .AS Tcl_CmdDeleteProc *interp in .AP Tcl_Interp *interp in The relevant Interpreter. <span style="color:red">-.AP char *cmdName in</span> <span style="color:green">+.AP "const char" *cmdName in</span> Name of the command to create. .AP Tcl_ObjCmdProc *proc in Called in order to evaluate a command. Is often just a small wrapper that uses </pre>
- foundin changed to: "8.5 and later"
- is_private changed to: "0"
- login: "chrstphrchvz"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Cosmetic"
- status changed to: "Open"
- submitter changed to: "chrstphrchvz"
- subsystem changed to: "69. Other"
- title changed to: "CrtObjCmd.3, NRE.3: constify cmdName"
- type changed to: "Patch"