diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-11-15 11:48:05 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-11-15 11:48:05 (GMT) |
commit | 5ec5e2d230eb367ba8a579621eda0594f142072e (patch) | |
tree | d44984046a6266997c88557bb2563ad347cd9562 /generic/tclOODecls.h | |
parent | 6c9ed7dca1a1982a7ace0f0851f5b91b4e8b4ecc (diff) | |
download | tcl-5ec5e2d230eb367ba8a579621eda0594f142072e.zip tcl-5ec5e2d230eb367ba8a579621eda0594f142072e.tar.gz tcl-5ec5e2d230eb367ba8a579621eda0594f142072e.tar.bz2 |
Simplification: don't declare struct types that are never used.
FossilOrigin-Name: 1e2c21fd062842e05583337fda00439f8c3b7d01
Diffstat (limited to 'generic/tclOODecls.h')
-rw-r--r-- | generic/tclOODecls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclOODecls.h b/generic/tclOODecls.h index 6316303..58871c6 100644 --- a/generic/tclOODecls.h +++ b/generic/tclOODecls.h @@ -100,13 +100,13 @@ TCLOOAPI void Tcl_ClassSetDestructor(Tcl_Interp *interp, TCLOOAPI Tcl_Obj * Tcl_GetObjectName(Tcl_Interp *interp, Tcl_Object object); -typedef struct TclOOStubHooks { +typedef struct { const struct TclOOIntStubs *tclOOIntStubs; } TclOOStubHooks; typedef struct TclOOStubs { int magic; - const struct TclOOStubHooks *hooks; + const TclOOStubHooks *hooks; Tcl_Object (*tcl_CopyObjectInstance) (Tcl_Interp *interp, Tcl_Object sourceObject, const char *targetName, const char *targetNamespaceName); /* 0 */ Tcl_Object (*tcl_GetClassAsObject) (Tcl_Class clazz); /* 1 */ |