diff options
| author | dkf <donal.k.fellows@manchester.ac.uk> | 2013-10-02 10:01:50 (GMT) |
|---|---|---|
| committer | dkf <donal.k.fellows@manchester.ac.uk> | 2013-10-02 10:01:50 (GMT) |
| commit | e104cccd9456465fd0f27e11d2af32fc8b1a2e28 (patch) | |
| tree | d99f34433ee1649a60fd63943810d88ff7ebabaf | |
| parent | 8789461a94da3bd2f07324b58fafe29ccd225250 (diff) | |
| download | tcl-e104cccd9456465fd0f27e11d2af32fc8b1a2e28.zip tcl-e104cccd9456465fd0f27e11d2af32fc8b1a2e28.tar.gz tcl-e104cccd9456465fd0f27e11d2af32fc8b1a2e28.tar.bz2 | |
Turn Tcl_OOInitStubs into a no-op in non-stub-enabled usage.
| -rw-r--r-- | generic/tclOO.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/tclOO.h b/generic/tclOO.h index 4a6cda7..e5ed10d 100644 --- a/generic/tclOO.h +++ b/generic/tclOO.h @@ -37,10 +37,14 @@ extern "C" { #endif +#ifdef USE_TCLOO_STUBS extern const char *TclOOInitializeStubs( Tcl_Interp *, const char *version); #define Tcl_OOInitStubs(interp) \ TclOOInitializeStubs((interp), TCLOO_VERSION) +#else +#define Tcl_OOInitStubs(interp) (TCL_OK) +#endif /* * These are opaque types. |
