Skip to content
Tcl Source Code Artifact [c0eaf35b7f]
Login

Artifact [c0eaf35b7f]

Artifact c0eaf35b7f06782ba18b169e891ebadc642f34ee7c8ed67c84f9ebd7cf4baa04:

Ticket change [c0eaf35b7f] - Closed ticket [1e62dd74f70cf7ba|1e62dd74f7]: <i></i> plus 7 other changes by jan.nijtmans on 2021-04-02 06:39:59.
D 2021-04-02T06:39:59.485
J assignee jan.nijtmans
J closedate 2459306.77777182
J closer jan.nijtmans
J icomment From\sthe\sman-page\sof\sTcl_FreeResult():\r\n<pre>\r\n\s\s\s\sTcl_FreeResult\sperforms\spart\sof\sthe\swork\sof\sTcl_ResetResult.\sIt\sfrees\sup\sthe\r\n\s\s\s\smemory\sassociated\swith\sinterp's\sresult.\sIt\salso\ssets\sinterp->freeProc\sto\szero,\sbut\r\n\s\s\s\sdoes\snot\schange\sinterp->result\sor\sclear\serror\sstate.\sTcl_FreeResult\sis\smost\r\n\s\s\s\scommonly\sused\swhen\sa\sprocedure\sis\sabout\sto\sreplace\sone\sresult\svalue\swith\sanother.\r\n</pre>\r\nSo,\sI\sthink\syou\swant\sto\suse\sTcl_ResetResult()\shere.\r\n\r\nTcl_FreeResult()\swill\sbe\sremoved\sin\sTcl\s9.0,\syou\snow\sknow\swhy.\r\nSee:\s[https://core.tcl-lang.org/tips/doc/trunk/tip/559.md]\r\n\r\nRemark:\sThe\sGet_Info()\scalls\shave\stwo\sparameters,\sbut\sthis\sfunctions\sis\sdefined\swith\s3\sparameters.\sI\sjust\sassume\syou\sforgot\sthe\sfirst\s"interp"\sparameter,\swithout\sthis\syour\scode\swouldn't\swork\sat\sall.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
J resolution Fixed
J status Closed
K 1e62dd74f70cf7ba7af3b34f0dfeffc9db529665
U jan.nijtmans
Z 7c5af8fae67eb9d1f94f665bacc78d46