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

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

4<head> 4<head>
5 <title>libev</title> 5 <title>libev</title>
6 <meta name="description" content="Pod documentation for libev" /> 6 <meta name="description" content="Pod documentation for libev" />
7 <meta name="inputfile" content="&lt;standard input&gt;" /> 7 <meta name="inputfile" content="&lt;standard input&gt;" />
8 <meta name="outputfile" content="&lt;standard output&gt;" /> 8 <meta name="outputfile" content="&lt;standard output&gt;" />
9 <meta name="created" content="Sun Dec 9 20:30:11 2007" /> 9 <meta name="created" content="Sun Dec 9 20:45:16 2007" />
10 <meta name="generator" content="Pod::Xhtml 1.57" /> 10 <meta name="generator" content="Pod::Xhtml 1.57" />
11<link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> 11<link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head>
12<body> 12<body>
13<div class="pod"> 13<div class="pod">
14<!-- INDEX START --> 14<!-- INDEX START -->
185you actually want to know.</p> 185you actually want to know.</p>
186 </dd> 186 </dd>
187 <dt>int ev_version_major ()</dt> 187 <dt>int ev_version_major ()</dt>
188 <dt>int ev_version_minor ()</dt> 188 <dt>int ev_version_minor ()</dt>
189 <dd> 189 <dd>
190 <p>You can find out the major and minor version numbers of the library 190 <p>You can find out the major and minor API/ABI version numbers of the library
191you linked against by calling the functions <code>ev_version_major</code> and 191you linked against by calling the functions <code>ev_version_major</code> and
192<code>ev_version_minor</code>. If you want, you can compare against the global 192<code>ev_version_minor</code>. If you want, you can compare against the global
193symbols <code>EV_VERSION_MAJOR</code> and <code>EV_VERSION_MINOR</code>, which specify the 193symbols <code>EV_VERSION_MAJOR</code> and <code>EV_VERSION_MINOR</code>, which specify the
194version of the library your program was compiled against.</p> 194version of the library your program was compiled against.</p>
195 <p>These version numbers refer to the API and ABI version of the library, not
196the release version.</p>
195 <p>Usually, it's a good idea to terminate if the major versions mismatch, 197 <p>Usually, it's a good idea to terminate if the major versions mismatch,
196as this indicates an incompatible change. Minor versions are usually 198as this indicates an incompatible change. Minor versions are usually
197compatible to older versions, so a larger minor version alone is usually 199compatible to older versions, so a larger minor version alone is usually
198not a problem.</p> 200not a problem.</p>
199 <p>Example: Make sure we haven't accidentally been linked against the wrong 201 <p>Example: Make sure we haven't accidentally been linked against the wrong
200version.</p> 202version.</p>
201<pre> assert ((&quot;libev version mismatch&quot;, 203<pre> assert ((&quot;libev version mismatch&quot;,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines