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

Comparing libev/ev.pod (file contents):
Revision 1.318 by root, Fri Oct 22 09:40:22 2010 UTC vs.
Revision 1.320 by root, Fri Oct 22 10:48:54 2010 UTC

193as this indicates an incompatible change. Minor versions are usually 193as this indicates an incompatible change. Minor versions are usually
194compatible to older versions, so a larger minor version alone is usually 194compatible to older versions, so a larger minor version alone is usually
195not a problem. 195not a problem.
196 196
197Example: Make sure we haven't accidentally been linked against the wrong 197Example: Make sure we haven't accidentally been linked against the wrong
198version (note, however, that this will not detect ABI mismatches :). 198version (note, however, that this will not detect other ABI mismatches,
199such as LFS or reentrancy).
199 200
200 assert (("libev version mismatch", 201 assert (("libev version mismatch",
201 ev_version_major () == EV_VERSION_MAJOR 202 ev_version_major () == EV_VERSION_MAJOR
202 && ev_version_minor () >= EV_VERSION_MINOR)); 203 && ev_version_minor () >= EV_VERSION_MINOR));
203 204
225probe for if you specify no backends explicitly. 226probe for if you specify no backends explicitly.
226 227
227=item unsigned int ev_embeddable_backends () 228=item unsigned int ev_embeddable_backends ()
228 229
229Returns the set of backends that are embeddable in other event loops. This 230Returns the set of backends that are embeddable in other event loops. This
230is the theoretical, all-platform, value. To find which backends 231value is platform-specific but can include backends not available on the
231might be supported on the current system, you would need to look at 232current system. To find which embeddable backends might be supported on
232C<ev_embeddable_backends () & ev_supported_backends ()>, likewise for 233the current system, you would need to look at C<ev_embeddable_backends ()
233recommended ones. 234& ev_supported_backends ()>, likewise for recommended ones.
234 235
235See the description of C<ev_embed> watchers for more info. 236See the description of C<ev_embed> watchers for more info.
236 237
237=item ev_set_allocator (void *(*cb)(void *ptr, long size)) [NOT REENTRANT] 238=item ev_set_allocator (void *(*cb)(void *ptr, long size)) [NOT REENTRANT]
238 239

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines