diff --git a/Doc/Manual/Tcl.html b/Doc/Manual/Tcl.html index c271a2ee6..ab3346c70 100644 --- a/Doc/Manual/Tcl.html +++ b/Doc/Manual/Tcl.html @@ -3137,9 +3137,8 @@ For example:
-Tcl 7.4 introduced the idea of an extension package. By default, SWIG -generates all of the code necessary to create a package. To set the package version, -simply use the -pkgversion option. For example: +SWIG generates all of the code necessary to create a Tcl extension package. +To set the package version use the -pkgversion option. For example:
After building the SWIG generated module, you need to execute -the "pkg_mkIndex" command inside tclsh. For example : +the pkg_mkIndex command inside tclsh. For example :
@@ -3430,7 +3429,7 @@ interesting things.For background information about the Tcl Stubs feature, see -http://www.tcl.tk/doc/howto/stubs.html. +https://www.tcl.tk/doc/howto/stubs.html.
@@ -3440,11 +3439,17 @@ feature if compiled with -DUSE_TCL_STUBS.
As of SWIG 1.3.40, the generated C/C++ wrapper will use the Tk Stubs -feature if compiled with -DUSE_TK_STUBS. Also, you can override -the minimum version to support which is passed to Tcl_InitStubs() -and Tk_InitStubs() with -DSWIG_TCL_STUBS_VERSION="8.3" -or the version being compiled with using --DSWIG_TCL_STUBS_VERSION=TCL_VERSION. +feature if compiled with -DUSE_TK_STUBS. +
+ ++By default SWIG sets the minimum Tcl version to support to the 8.4 +as that's the minimum Tcl version we aim to support (since SWIG 4.1.0; before +this SWIG set it to 8.1, which was the first Tcl version with the stubs +mechanism). This minimum version is passed to Tcl_InitStubs() and +Tk_InitStubs(). You can override with a specific version using +-DSWIG_TCL_STUBS_VERSION="8.5" or set it to the Tcl version being +compiled with using -DSWIG_TCL_STUBS_VERSION=TCL_VERSION.