SYNOPSIS
#include <tcl.h>
Tcl_GetVersion(major, minor, patchLevel, type)
ARGUMENTS
- int *major (out)
-
Major version number of the Tcl library.
- int *minor (out)
-
Minor version number of the Tcl library.
- int *patchLevel (out)
-
The patch level of the Tcl library (or alpha or beta number).
- Tcl_ReleaseType *type (out)
-
The type of release, also indicates the type of patch level. Can be one of TCL_ALPHA_RELEASE, TCL_BETA_RELEASE, or TCL_FINAL_RELEASE.
DESCRIPTION
If may pass a NULL for any of the arguments. For instance if you do not care about the patchLevel of the library, pass a NULL for the patchLevel argument.
PORTABILITY
Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.5 Documentation Build 40.