<i>Annoying ANSI signatures of many Tcl library functions.</i> status still Open with 5 other changes
by
.
D 2002-02-11T05:14:50
J assignee kennykb
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\nBasically,\syes.\s\sTIP\s27\schanged\sall\sthe\sinterfaces\sthat\ncan\sreasonably\sbe\schanged\swithout\smajor\s(Tcl\s9?)\srewrites\nto\sTcl's\sinternals.\n\nAny\sscript\spassed\sto\sTcl_Eval\sand\sfriends\smust\nbe\sa\swritable\sstring,\sbecause\sparsing\sof\s']'\swrites\son\sthe\nstring.\s\sLikewise,\sany\svariable\sname\smust\sbe\spassed\sas\sa\nwritable\sstring\sbecause\sthe\sparsing\sof\s')'\sin\sarray\selement\nvariables\swrites\son\sthe\sstring.\s\sFor\sthese\sreasons,\nTcl_CommandComplete,\sTcl_Eval,\setc.\shave\snot\sbeen\schanged.\nTcl_SetResult\shas\snot\sbeen\schanged\sbecause\sits\sfreeProc\nargument\scontrols\sthe\sreal\streatment\sof\sthe\sstring,\sand\nthe\sability\sto\spass\sthe\sstring\sto\sthe\s(freeProc)\sas\sa\nwritable\sstring\sneeds\sto\sbe\spreserved.\s\sThe\sfollowing\ncast\sis\salways\ssafe:\n\n\s\s\s\sTcl_SetResult(interp,\s(char\s*)\sstr,\sTCL_VOLATILE);\n\nand\sany\snew\scode\sought\sto\sbe\susing\sTcl_SetObjResult\nanyway.\n\nThe\sother\sspecific\srequests\sin\sthis\sreport\shave\sall\sbeen\nconverted\sas\spart\sof\sthe\sTIP\s27\seffort.\n\nEither\sclose\sthis\sreport\sentirely,\sor\sconvert\sit\sto\sa\s\nFeature\sRequest\sfor\sthe\sremaining\schanges\sto\sbe\sconsidered\s\nin\sthe\sTcl\s9\stime\sframe.\n
J login dgp
J mimetype text/plain
J username dgp
K 219151ffffffffffffffffffffffffffffffffff
U dgp
Z f39b4e91bc650d6c6c4b09ce2f25c49a