Fixed warnings detected with branch "disabletcl8api" The Tcl9 native interface is based on "Tcl_Size" instead of "int", but the default mode hides these differences via some macro-magic. Typical such cases are API calls like:
The macro-magic queries the size of the provided parameters and uses the old or new interface depending on it (while hiding some more potential problems, a compiler can detect). The branch "disabletcl8api" removes the macro-magic and reveals the potential problem areas, where the code is still depending on the old 32bit interface.
This commit fixes such cases and the collateral damage.
Provide support for TIP 627 (Tcl 8.7a6+ and Tcl 9) TIP 627 introduces support for > 2^31 elements in object vectors (e.g., number of words in a single Tcl command). For details, see https://core.tcl-lang.org/tips/doc/trunk/tip/627.md
To provide also backwards compatibility, this change uses the macros TCL_COMMAND_OBJPROC, TCL_CREATEOBJCOMMAND, TCL_NRCALLOBJPROC, TCL_NRCREATECOMMAND, TCL_OBJCMDPROC_T, and TCL_OBJC_T.