66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
+
+
+
|
changes require for Tcl 9, add the following fragment to the appropriate
header for the extension.
```
#ifndef TCL_SIZE_MAX
# define Tcl_GetSizeIntFromObj Tcl_GetIntFromObj
# define TCL_SIZE_MAX INT_MAX
# ifndef Tcl_Size
typedef int Tcl_Size;
# endif
# define TCL_SIZE_MODIFIER ""
#endif
```
"Tcl_Size" itself doesn't need to be provided as long as you update the extension to the latest tclconfig release. TEA (latest tcl.m4/rules.vc files) takes care of providing an appropriate preprocessor #define for `Tcl_Size`.
|