From: Jan N. <jan...@gm...> - 2025-04-16 20:15:34
|
Op wo 16 apr 2025 om 21:59 schreef Donald G Porter via Tcl-Core: > > > This question may be fully addressed and answered in some TIP, and if > so it's a sufficient answer to point me to it. > In Tcl 9, is it true that C type Tcl_WideInt is always the same as > C type (long long int) ? Likewise Tcl_WideUInt is always same as > (unsigned long long int) ? <https://core.tcl-lang.org/tips/doc/trunk/tip/476.md>: "Whenever possible, typedef Tcl_WideInt to be equal to long long, even on platforms where long has the same size as long long." I would be OK with throwing away TCL_WIDE_INT_TYPE. Changing it would be a binary incompatible changes, and too many internal constructs would break if sizeof(Tcl_WideInt) > sizeof(long long) Hope this helps, Jan Nijtmans |