summaryrefslogtreecommitdiffstats
path: root/generic/tclOO.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-13 16:19:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-10-13 16:19:44 (GMT)
commita31cc592a4e4c6d1ba5a4f0e12457adcfe668d15 (patch)
treedec7c290e72d083bd4b35a355560b722b53b48b9 /generic/tclOO.h
parent5ab205e3a03e8c73052ecffe7173cb205398c779 (diff)
downloadtcl-a31cc592a4e4c6d1ba5a4f0e12457adcfe668d15.zip
tcl-a31cc592a4e4c6d1ba5a4f0e12457adcfe668d15.tar.gz
tcl-a31cc592a4e4c6d1ba5a4f0e12457adcfe668d15.tar.bz2
The Tcl 9.0 way of how [dfc08326e3] should be fixed: Real integration of TclOO in Tcl means that calling the function Tcl_OOInitStubs() should be elminated in full. This branch shows how to do that.rfe_dfc08326e3
Diffstat (limited to 'generic/tclOO.h')
-rw-r--r--generic/tclOO.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/generic/tclOO.h b/generic/tclOO.h
index a6e8a22..b8aa974 100644
--- a/generic/tclOO.h
+++ b/generic/tclOO.h
@@ -37,13 +37,8 @@
extern "C" {
#endif
-extern const char *TclOOInitializeStubs(
- Tcl_Interp *, const char *version);
-#define Tcl_OOInitStubs(interp) \
- TclOOInitializeStubs((interp), TCLOO_VERSION)
-#ifndef USE_TCL_STUBS
-# define TclOOInitializeStubs(interp, version) (TCLOO_PATCHLEVEL)
-#endif
+#define Tcl_OOInitStubs(interp) (TCLOO_PATCHLEVEL)
+#define TclOOInitializeStubs(interp, version) (TCLOO_PATCHLEVEL)
/*
* These are opaque types.