Skip to content
Tcl Source Code Artifact [f90395bf7a]
Login

Artifact [f90395bf7a]

Artifact f90395bf7ad37108df3ecb0a3ab35bdbe90c3ba3:

Ticket change [f90395bf7a] - New ticket [3007895fffffffff|3007895fff] <i>Tcl_(Find|Create)HashEntry stub entries can never be called</i>. by nijtmans on 2010-05-27 11:00:38.
D 2010-05-27T11:00:38
J assignee nijtmans
J cmimetype text/plain
J comment From\stcl.h\swe\scan\ssee\sthat\sTcl_(Find|Create)HashEntry\nis\sa\smacro,\sbut\sit\sis\sin\sthe\sstub\stable\sas\swell.\sThe\smacro\noverrides\sthe\sdefinition\sin\stclDecls.h:\n=========================================\n#undef\s\sTcl_FindHashEntry\n#define\sTcl_FindHashEntry(tablePtr,\skey)\s...\n#undef\s\sTcl_CreateHashEntry\n#define\sTcl_CreateHashEntry(tablePtr,\skey,\snewPtr)\s...\n=========================================\nSo,\sthe\sstub\stable\sentries\sare\suseless.\sThe\sonly\seffects\nit\shas\sis:\n-\sNeed\stricks\slike\s#undef,\sto\smake\stclHash.c\sand\n\s\stclInitStubs.c\scompile.\n-\sTcl_(Find|Create)HashEntry\scould\sbe\sstatic\sin\stclHash.c,\n\s\sbut\sonly\sfor\sthe\sstub\stable\sthey\sare\smade\sEXTERN\n\nSolution:\sremove\sthose\stwo\sfunctions\sfrom\sthe\sstub\ntable,\sand\swe\scan\sremove\sall\sremaining\strickery.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nijtmans
J subsystem 10.\sObjects
J title Tcl_(Find|Create)HashEntry\sstub\sentries\scan\snever\sbe\scalled
J type Bug
K 3007895fffffffffffffffffffffffffffffffff
U nijtmans
Z 4da4a1ed6babf6d6775e98e88fcc1551