10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
+
+
+
+
+
|
~~~
if (Tcl_InitStubs(interp, "8.5-10", 0) == NULL) {
return TCL_ERROR;
}
~~~
The Tcl_InitStubs command changed in the following aspects:
* The strict parameter changed in type from boolean to a bit field. Only values of 0 and 1 are supported.
* If the preprocessor variable "USE_TCL_STUBS" is not defined, a direct link to the TCL library is assumed. In this case, no stubs table is initialized. The given version specification is verified against the calling interpreter.
## 64-bit data support
On 64-bit platforms, Tcl 9 no longer limits data size (lengths of strings, lists
etc.) and indices to 32-bits. For portability of extensions between 32- and
64-bit platforms, a new typedef `Tcl_Size` has been defined. This maps to a
64-bit or 32-bit signed integer type on the respective platforms. This affects
all public structures and parameter types as appropriate. Variables that hold
|