ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.3
(Generate patch)

Comparing libev/ev.3 (file contents):
Revision 1.46 by root, Sun Dec 9 19:42:57 2007 UTC vs.
Revision 1.47 by root, Sun Dec 9 19:46:56 2007 UTC

259.IX Item "int ev_version_major ()" 259.IX Item "int ev_version_major ()"
260.PD 0 260.PD 0
261.IP "int ev_version_minor ()" 4 261.IP "int ev_version_minor ()" 4
262.IX Item "int ev_version_minor ()" 262.IX Item "int ev_version_minor ()"
263.PD 263.PD
264You can find out the major and minor version numbers of the library 264You can find out the major and minor \s-1API/ABI\s0 version numbers of the library
265you linked against by calling the functions \f(CW\*(C`ev_version_major\*(C'\fR and 265you linked against by calling the functions \f(CW\*(C`ev_version_major\*(C'\fR and
266\&\f(CW\*(C`ev_version_minor\*(C'\fR. If you want, you can compare against the global 266\&\f(CW\*(C`ev_version_minor\*(C'\fR. If you want, you can compare against the global
267symbols \f(CW\*(C`EV_VERSION_MAJOR\*(C'\fR and \f(CW\*(C`EV_VERSION_MINOR\*(C'\fR, which specify the 267symbols \f(CW\*(C`EV_VERSION_MAJOR\*(C'\fR and \f(CW\*(C`EV_VERSION_MINOR\*(C'\fR, which specify the
268version of the library your program was compiled against. 268version of the library your program was compiled against.
269.Sp 269.Sp
270These version numbers refer to the \s-1API\s0 and \s-1ABI\s0 version of the library, not
271the release version.
272.Sp
270Usually, it's a good idea to terminate if the major versions mismatch, 273Usually, it's a good idea to terminate if the major versions mismatch,
271as this indicates an incompatible change. Minor versions are usually 274as this indicates an incompatible change. Minor versions are usually
272compatible to older versions, so a larger minor version alone is usually 275compatible to older versions, so a larger minor version alone is usually
273not a problem. 276not a problem.
274.Sp 277.Sp
275Example: Make sure we haven't accidentally been linked against the wrong 278Example: Make sure we haven't accidentally been linked against the wrong
276version. 279version.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines