Skip to content
Tcl Source Code Artifact [6c5a8e944d]
Login

Artifact [6c5a8e944d]

Artifact 6c5a8e944dcda606eb315c9d382597ac7c5b50504f06abcfa6602f2798015e38:

Ticket change [6c5a8e944d] - Ticket [b5bd08df8d61b4ea|b5bd08df8d] <i>The &quot;int&quot; type registration should be restored.</i> status still Open with 3 other changes by anonymous on 2022-11-18 07:29:45.
D 2022-11-18T07:29:45.297
J icomment >\sThat\sdoes\snot\smean\sthey\sall\sbreak\swith\sthis\schange\r\n\r\nSpeaking\sfor\sxotcl/nsf\s(the\sold\sxotcl\sextension\sis\sdead,\sit\swas\sjust\sfor\sTcl\s8.6;\s\r\nXOTcl\s2\sis\spart\sof\snsf\s(same\sbinary).\sIt\suses\sthe\sfollowing\ssimple\sidiom\s\r\nto\sobtain\sthe\stype\srecord\sof\s"int".\s\s\r\n\r\n+\s\stmpObj\s=\sTcl_NewIntObj(0);\r\n+\s\sNsf_OT_intType\s=\stmpObj->typePtr;\r\n+\s\sTcl_DecrRefCount(tmpObj);\r\n+\s\sassert(Nsf_OT_intType\s!=\sNULL);\r\n\r\nProbably,\sBrian\swas\sreferring\sto\ssuch\sa\sconstruct\sabove...\s\r\nThe\s"int"\sregistry\swas\sremoved\ssomewhere\sin\sthe\s8.7a*\sversions.\s\r\nThis\sis\snot\ssomething,\sI\swould\sgo\son\sthe\sstreet\sfor.\s\r\nI\snever\scared\sto\sunderstand\swhy\ssome\stypes\sare\sregistered,\sothers\snot.\r\n\r\nOTOH:\sThe\stype\sregistry\sis\simportant,\sand\sshould\snot\sgo\saway.\s\r\nIt\sis\sused\se.g.\sby\snsf\sto\suse\stype\sconverters\s(e.g.\smemory\sand\stime\sunits)\s\r\nof\sNaviServer\swhen\sused\sinside\sNaviServer.\sThis\smakes\susage\smore\sseamless.
J login anonymous
J mimetype text/plain
K b5bd08df8d61b4ea9bf0cc885f790b367c430a9f
U anonymous
Z 1719f6bbf8454d122559c474110e0d39