diff options
author | nijtmans <nijtmans@noemail.net> | 2010-03-07 14:39:25 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-03-07 14:39:25 (GMT) |
commit | 1cfb42d4a88ba8d921ac7d522d301c3c548d42f7 (patch) | |
tree | 613fc83e151efdbb14c37fbfb42d5f8aa355642d /generic/tclTest.c | |
parent | b116d94f3a9f60b0b88175257e064bade9115555 (diff) | |
download | tcl-1cfb42d4a88ba8d921ac7d522d301c3c548d42f7.zip tcl-1cfb42d4a88ba8d921ac7d522d301c3c548d42f7.tar.gz tcl-1cfb42d4a88ba8d921ac7d522d301c3c548d42f7.tar.bz2 |
test that tclOO stubs are present in stub library
Applied missing part of [Patch 2961556]
Change all tclWinProcs signatures to use
TCHAR* in stead of WCHAR*. This is meant
as preparation to make [Enh 2965056]
possible at all.
FossilOrigin-Name: 0ccb7b21a9b847a905c64007fa9a710194b59c65
Diffstat (limited to 'generic/tclTest.c')
-rw-r--r-- | generic/tclTest.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/generic/tclTest.c b/generic/tclTest.c index 35bff84..4e717bd 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclTest.c,v 1.148 2010/03/06 06:29:24 nijtmans Exp $ + * RCS: @(#) $Id: tclTest.c,v 1.149 2010/03/07 14:39:26 nijtmans Exp $ */ #undef STATIC_BUILD @@ -22,7 +22,7 @@ # define USE_TCL_STUBS #endif #include "tclInt.h" - +#include "tclOO.h" /* * Required for Testregexp*Cmd */ @@ -545,6 +545,9 @@ Tcltest_Init( if (Tcl_TomMath_InitStubs(interp, "8.5") == NULL) { return TCL_ERROR; } + if (Tcl_OOInitStubs(interp) == NULL) { + return TCL_ERROR; + } /* TIP #268: Full patchlevel instead of just major.minor */ if (Tcl_PkgProvide(interp, "Tcltest", TCL_PATCH_LEVEL) == TCL_ERROR) { @@ -757,7 +760,7 @@ int Tcltest_SafeInit( Tcl_Interp *interp) /* Interpreter for application. */ { - if (Tcl_InitStubs(interp, "8.1", 0) == NULL) { + if (Tcl_InitStubs(interp, "8.5", 0) == NULL) { return TCL_ERROR; } return Procbodytest_SafeInit(interp); |