--- libev/ev.html 2007/12/09 19:42:57 1.74 +++ libev/ev.html 2007/12/09 19:46:56 1.75 @@ -6,7 +6,7 @@ - + @@ -187,13 +187,15 @@
int ev_version_major ()
int ev_version_minor ()
-

You can find out the major and minor version numbers of the library +

You can find out the major and minor API/ABI version numbers of the library you linked against by calling the functions ev_version_major and ev_version_minor. If you want, you can compare against the global symbols EV_VERSION_MAJOR and EV_VERSION_MINOR, which specify the version of the library your program was compiled against.

+

These version numbers refer to the API and ABI version of the library, not +the release version.

Usually, it's a good idea to terminate if the major versions mismatch, -as this indicates an incompatible change. Minor versions are usually +as this indicates an incompatible change. Minor versions are usually compatible to older versions, so a larger minor version alone is usually not a problem.

Example: Make sure we haven't accidentally been linked against the wrong