next up previous 264
Next: astWarnings - Returns any warnings issued by the previous read or write operation
Up: AST Function Descriptions
Previous: astUnlock - Unlock an Object for use by other threads


astVersion - Return the version of the AST library being used

Description:
This macro invokes a function which returns an integer representing the version of the AST library being used. The library version is formatted as a string such as "2.0-7" which contains integers representing the "major version" (2), the "minor version" (0) and the "release" (7). The integer returned by this function combines all three integers together into a single integer using the expresion:

(major version)$*$1E6 $+$ (minor version)$*$1E3 $+$ (release)

Synopsis:
int astVersion
Class Applicability:
Object
This macro applies to all Objects.
Returned Value:
astVersion
The major version, minor version and release numbers for the AST library, encoded as a single integer.


next up previous 264
Next: astWarnings - Returns any warnings issued by the previous read or write operation
Up: AST Function Descriptions
Previous: astUnlock - Unlock an Object for use by other threads

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 211
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council