Artifacts Associated With Ticket 3f9b4e0c81
Ticket change [b2f5a56256] (rid 194501) by chrstphrchvz on 2021-05-24 16:33:39:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized 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 initialized to: "8.5 and later"
- is_private initialized to: "0"
- login: "chrstphrchvz"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Cosmetic"
- status initialized to: "Open"
- submitter initialized to: "chrstphrchvz"
- subsystem initialized to: "69. Other"
- title initialized to: "CrtObjCmd.3, NRE.3: constify cmdName"
- type initialized to: "Patch"
Ticket change [f612dee08a] (rid 194502) by chrstphrchvz on 2021-05-24 17:14:08:
- 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> Edit: I think the same goes for <tt>*list</tt> in SplitList.3: <pre> --- doc/SplitList.3.orig +++ doc/SplitList.3 @@ -36,7 +36,7 @@ int .AP Tcl_Interp *interp out Interpreter to use for error reporting. If NULL, then no error message is left. <span style="color:red">-.AP char *list in</span> <span style="color:green">+.AP "const char" *list in</span> Pointer to a string with proper list structure. .AP int *argcPtr out Filled in with number of elements in \fIlist\fR. </pre>
- login: "chrstphrchvz"
- mimetype: "text/plain"
- title changed to:
CrtObjCmd.3, NRE.3, SplitList.3: constify cmdName, list
- comment changed to:
Ticket change [9d9e94af7b] (rid 194522) by jan.nijtmans on 2021-05-25 09:33:36:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2459359.89834265"
- closer changed to: "jan.nijtmans"
- icomment:
Thanks! There were actually quite a few more where the documentation didn't match the actual header-files. I think I got all of them now. Merged now to core-8-6-branch, core-8-branch and trunk
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"