summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-21 11:53:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-06-21 11:53:11 (GMT)
commitc12c83e799a79e5d1faa3dc446e1ef322eaa31fd (patch)
treed72e35d30860709dafe2eee62ea82000b7ed190f /generic/tclInt.h
parentbd74c3a8549b56bbbf082f0d92034cdd58c43eb8 (diff)
downloadtcl-c12c83e799a79e5d1faa3dc446e1ef322eaa31fd.zip
tcl-c12c83e799a79e5d1faa3dc446e1ef322eaa31fd.tar.gz
tcl-c12c83e799a79e5d1faa3dc446e1ef322eaa31fd.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);