Skip to content
Tcl Source Code Artifact [f192a955b3]
Login

Artifact [f192a955b3]

Artifact f192a955b33e679dc1ec39a6c05666d6031bc6c1:

Ticket change [f192a955b3] - New ticket [3009403fffffffff|3009403fff] <i>Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry</i>. by nijtmans on 2010-05-31 09:49:31.
D 2010-05-31T09:49:31
J assignee msofer
J cmimetype text/plain
J comment The\ssignatures\sof\sthose\sfunctions\suse\s"char\s*"\sresp.\n"const\schar\s*"\sin\stheir\ssignatures.\sHowever,\skeys\sin\nhash\stables,\scan\sbe\sanything,\sso\susing\s"char"\shere\nmeans\sthat\stype\scasts\sare\sneeded\sin\smany\scurrent\ncode\susing\shash\stables.\n\nAt\sfirst\ssight,\sthis\smight\sseem\sa\sbinary\sincompatible\nchange\sto\schange\sthis\s,\sbecause\son\ssome\splatforms\n"char\s*"\sdoes\snot\shave\sthe\ssame\ssize\sas\s"void\s*".\nHowever,\sthose\s3\sfunctions\sare\sin\sreality\smacros\ndefined\sin\stcl.h,\swhich\seventuall\scall\sfunctions\nwhose\ssignature\sis\snot\schanged.\sSo:\sthis\nchange\sis\s100%\ssource\sand\sbinary\scompatible!\n\nHere\sis\sthe\ssuggested\spatch.\n\nBecause\sTcl_(Create|Find)HashEntry\sis\sin\sthe\nstub\stable,\s(but\scannot\sactually\sbe\sused,\ssee\nBug\s#3007895),\sthis\spatch\sis\sbetter\sused\nin\scombination\swith\s#3007895.\sOtherwise\npeople\smight\swonder\swhy\sthe\ssignatures\nof\sthose\sstub\stable\sentries\sdon't\smatch\sthe\ndoc\sand\sthe\smacros.
J foundin None
J is_private 0
J priority 3\sLow
J resolution None
J status Open
J submitter nijtmans
J subsystem 52.\sPortability\sSupport
J title Signature\sof\sTcl_GetHashKey,\sTcl_(Create|Find)HashEntry
J type Patch
K 3009403fffffffffffffffffffffffffffffffff
U nijtmans
Z 40def68d8efbfb214e8a907b21ebac83