Overview
| Artifact ID: | f90395bf7ad37108df3ecb0a3ab35bdbe90c3ba3 |
|---|---|
| Ticket: | 3007895fffffffffffffffffffffffffffffffff
Tcl_(Find|Create)HashEntry stub entries can never be called |
| User & Date: | nijtmans on 2010-05-27 11:00:38 |
Changes
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- comment changed to:
From tcl.h we can see that Tcl_(Find|Create)HashEntry is a macro, but it is in the stub table as well. The macro overrides the definition in tclDecls.h: ========================================= #undef Tcl_FindHashEntry #define Tcl_FindHashEntry(tablePtr, key) ... #undef Tcl_CreateHashEntry #define Tcl_CreateHashEntry(tablePtr, key, newPtr) ... ========================================= So, the stub table entries are useless. The only effects it has is: - Need tricks like #undef, to make tclHash.c and tclInitStubs.c compile. - Tcl_(Find|Create)HashEntry could be static in tclHash.c, but only for the stub table they are made EXTERN Solution: remove those two functions from the stub table, and we can remove all remaining trickery.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nijtmans"
- subsystem changed to: "10. Objects"
- title changed to:
Tcl_(Find|Create)HashEntry stub entries can never be called
- type changed to: "Bug"