X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/5466167e0504f6fd929074dda89e770d4abfd3c3..4ce77a5b1de05dae6092eae478b2a4397173d9c3:/ev.html diff --git a/ev.html b/ev.html index 308d179..f63538f 100644 --- a/ev.html +++ b/ev.html @@ -6,7 +6,7 @@ - + @@ -187,13 +187,15 @@ you actually want to know.

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 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 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