Whole document tree
    

Whole document tree

GIMP-Print: Version functions
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.8 Version functions

Function: const char * stp_check_version (unsigned int required_major,
unsigned int required_minor, unsigned int required_micro)

This function checks whether the version of libgimpprint that the program is linked with is equal to the version number passed to it. If the version is the same, the function returns NULL. If any of the version numbers do not match (i.e. the library version is too old or too new), a string containing a desription of the difference is returned. The first error found is returned. The function checks in the order major, minor, micro.



This document was generated by Eric Sharkey on February, 16 2002 using texi2html