summaryrefslogtreecommitdiffstats
path: root/generic/tclOODecls.h
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclOODecls.h')
-rw-r--r--generic/tclOODecls.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/generic/tclOODecls.h b/generic/tclOODecls.h
index cf55478..818beba 100644
--- a/generic/tclOODecls.h
+++ b/generic/tclOODecls.h
@@ -18,6 +18,10 @@
# define USE_TCLOO_STUBS
#endif
+#ifdef TCL_NO_DEPRECATED
+# define Tcl_MethodType void
+#endif
+
/* !BEGIN!: Do not edit below this line. */
#ifdef __cplusplus
@@ -270,4 +274,11 @@ extern const TclOOStubs *tclOOStubsPtr;
/* !END!: Do not edit above this line. */
+#ifdef TCL_NO_DEPRECATED
+# undef Tcl_MethodType
+# undef Tcl_MethodIsType
+# undef Tcl_NewInstanceMethod
+# undef Tcl_NewMethod
+#endif
+
#endif /* _TCLOODECLS */