1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
-
-
-
-
|
(Work in progress...)
Also see [Porting extensions to Tcl 9](https://wiki.tcl-lang.org/page/Porting+extensions+to+Tcl+9)
for another post on the topic.
## Init stubs and package require with open version
The list of versions should include TCL/Tk 9. Here is an example for TCL 8.5 and following versions.
Remark the "-" after "8.5".
~~~
#ifdef USE_TCL_STUBS
if (Tcl_InitStubs(interp, "8.5-", 0) == NULL)
#else
if (Tcl_PkgRequire(interp, "Tcl", "8.5-", 0) == NULL)
#endif
{
return TCL_ERROR;
}
~~~
## 64-bit data support
|