manpagez: man pages & more
man im_version(3)
Home | html | info | man
im_version(3)                                                    im_version(3)




NAME

       im_version, im_version_string - return VIPS version info


SYNOPSIS

       #include <vips/vips.h>

       int im_version( int flag )

       const char *im_version_string( void )



DESCRIPTION

       im_version(3)  returns the major version number if flag == 0, the minor
       version number if flag == 1, and the micro version number if flag == 2.

       Major  versions  are  supposed  to  represent very large changes to the
       library, minor versions indicate steady improvements  (with  odd  minor
       versions  indicating  unstable  and undocumented development releases),
       and micro versions indicating bug-fixes.

       im_version_string(3) returns a static string representing the vips ver-
       sion number, and the date when the library was built.

       The version number always has three parts, separated by '.' characters.
       The first part is the major release, the second the minor release  (odd
       minor values denote development releases), and the third the micro ver-
       sion number.

       The version number and the date are separated by a '-' character.

       The value of this string is constructed in 'configure.in'.

       A typical value for tthe string might be "7.7.0-Thu Dec 16 18:10:01 GMT
       1999".



RETURN VALUE

       The function returns 0 on success and non-zero on error.


COPYRIGHT

       National Gallery


AUTHOR

       J. Cupitt - 15/12/99



                               15 December 1999                  im_version(3)

im_version 7.14.5 - Generated Tue Sep 9 10:24:00 CDT 2008
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.