summaryrefslogtreecommitdiffstats
path: root/generic/tclOOInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-15 19:13:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-15 19:13:55 (GMT)
commit511765faae09dd5a56da42a2df297514cff7df3e (patch)
tree7c88e73aa57e7ac1f0e2822d6f6691ec6e45dd86 /generic/tclOOInt.h
parent3046c87be9fbd3d2dbf044039d27385a0c38aeed (diff)
downloadtcl-511765faae09dd5a56da42a2df297514cff7df3e.zip
tcl-511765faae09dd5a56da42a2df297514cff7df3e.tar.gz
tcl-511765faae09dd5a56da42a2df297514cff7df3e.tar.bz2
Add entry for Tcl_StaticPackage in internal stub table, since the public one is deprecated and will be removed in 9.0
Clean-up a lot of type-casts, which are not necessary any more.
Diffstat (limited to 'generic/tclOOInt.h')
-rw-r--r--generic/tclOOInt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclOOInt.h b/generic/tclOOInt.h
index cde8d91..c1a9010 100644
--- a/generic/tclOOInt.h
+++ b/generic/tclOOInt.h
@@ -47,7 +47,7 @@ typedef struct Method {
* special flag record which is just used for
* the setting of the flags field. */
int refCount;
- ClientData clientData; /* Type-specific data. */
+ void *clientData; /* Type-specific data. */
Tcl_Obj *namePtr; /* Name of the method. */
struct Object *declaringObjectPtr;
/* The object that declares this method, or
@@ -84,7 +84,7 @@ typedef struct ProcedureMethod {
* body bytecodes. */
int flags; /* Flags to control features. */
int refCount;
- ClientData clientData;
+ void *clientData;
TclOO_PmCDDeleteProc *deleteClientdataProc;
TclOO_PmCDCloneProc *cloneClientdataProc;
ProcErrorProc *errProc; /* Replacement error handler. */