Re: Add support for Tcl 9

2024-11-25 Thread Peter Eisentraut
On 25.11.24 05:07, Tristan Partin wrote: Looks correct to me. TIPs 628[0] and 666[1] seem to be the proposals which added Tcl_Size and changed functions to use the type. Reviewed-by: Tristan Partin Committed and backpatched. Thanks for checking.

Re: Add support for Tcl 9

2024-11-24 Thread Tristan Partin
Looks correct to me. TIPs 628[0] and 666[1] seem to be the proposals which added Tcl_Size and changed functions to use the type. Reviewed-by: Tristan Partin [0]: https://core.tcl-lang.org/tips/doc/trunk/tip/628.md [1]: https://core.tcl-lang.org/tips/doc/trunk/tip/666.md -- Tristan Partin Neon

Add support for Tcl 9

2024-11-15 Thread Peter Eisentraut
45:32 +0100 Subject: [PATCH] Add support for Tcl 9 Tcl 9 changed several API functions to take Tcl_Size, which is ptrdiff_t, instead of int, for 64-bit enablement. We have to change a few local variables to be compatible with that. We also provide a fallback typdef of Tcl_Size for older Tcl versions.