GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TCL_GETVERSION (3)

NAME

Tcl_GetVersion - get the version of the library at runtime

CONTENTS

Synopsis
Arguments
Description
Keywords

SYNOPSIS

#include <tcl.h>

Tcl_GetVersion(major, minor, patchLevel, type)

ARGUMENTS


.TP 15 int *major (out)
int       *major int Major version number of the Tcl library.
.TP 15 int *minor (out)
int       *minor int Minor version number of the Tcl library.
.TP 15 int *patchLevel (out)
int       *patchLevel int The patch level of the Tcl library (or alpha or beta number).
.TP 15 Tcl_ReleaseType *type (out)
Tcl_ReleaseType*type Tcl_ReleaseType 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.

   








\L’|0u-1v’\l’75u+3n_’\L’0u+1v-0u’\l’|0u-1.5n_’



\L’|0u-1v’\L’0u+1v-0u’\l’|0u-1.5n_’





DESCRIPTION

Tcl_GetVersion should be used to query the version number of the Tcl library at runtime. This is useful when using a dynamically loaded Tcl library or when writing a stubs-aware extension. For instance, if you write an extension that is linked against the Tcl stubs library, it could be loaded into a program linked to an older version of Tcl than you expected. Use Tcl_GetVersion to verify that fact, and possibly to change the behavior of your extension.

Tcl_GetVersion accepts 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.

KEYWORDS

version, patchlevel, major, minor, alpha, beta, release

Search for    or go to Top of page |  Section 3 |  Main Index


Tcl TCL_GETVERSION (3) 7.5

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.