summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2013-06-21 11:53:11 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2013-06-21 11:53:11 (GMT)
commite26f463496c9a6045d94444c5882289ce17957ef (patch)
treed72e35d30860709dafe2eee62ea82000b7ed190f /generic/tclInt.h
parent8cb955a59938f193dcc5fa7b540e39a6e770d2b7 (diff)
downloadtcl-e26f463496c9a6045d94444c5882289ce17957ef.zip
tcl-e26f463496c9a6045d94444c5882289ce17957ef.tar.gz
tcl-e26f463496c9a6045d94444c5882289ce17957ef.tar.bz2
Modify internal TclStubInfoType type: use TclStubs * in stead of ClientData, so less type casts are needed in the code.
Disadvantage: somewhat more code duplication, but it makes the code much more understandable.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 3432b37..c350d15 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -3837,7 +3837,7 @@ MODULE_SCOPE int TclCompileAssembleCmd(Tcl_Interp *interp,
/* Used internally in stub library. */
typedef struct {
char version[12];
- ClientData data;
+ const TclStubs *stubs;
} TclStubInfoType;
MODULE_SCOPE const char *TclInitStubTable(const char *version);