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

Comparing libev/ev.c (file contents):
Revision 1.459 by root, Tue Oct 29 12:13:37 2013 UTC vs.
Revision 1.461 by root, Fri Dec 27 06:01:22 2013 UTC

249#ifndef EV_USE_FLOOR 249#ifndef EV_USE_FLOOR
250# define EV_USE_FLOOR 0 250# define EV_USE_FLOOR 0
251#endif 251#endif
252 252
253#ifndef EV_USE_CLOCK_SYSCALL 253#ifndef EV_USE_CLOCK_SYSCALL
254# if __linux && __GLIBC__ >= 2 254# if __linux && __GLIBC__ == 2 && __GLIBC_MINOR__ < 17
255# define EV_USE_CLOCK_SYSCALL EV_FEATURE_OS 255# define EV_USE_CLOCK_SYSCALL EV_FEATURE_OS
256# else 256# else
257# define EV_USE_CLOCK_SYSCALL 0 257# define EV_USE_CLOCK_SYSCALL 0
258# endif 258# endif
259#endif 259#endif
2545{ 2545{
2546 return userdata; 2546 return userdata;
2547} 2547}
2548 2548
2549void 2549void
2550ev_set_invoke_pending_cb (EV_P_ void (*invoke_pending_cb)(EV_P)) EV_THROW 2550ev_set_invoke_pending_cb (EV_P_ ev_loop_callback invoke_pending_cb) EV_THROW
2551{ 2551{
2552 invoke_cb = invoke_pending_cb; 2552 invoke_cb = invoke_pending_cb;
2553} 2553}
2554 2554
2555void 2555void
2556ev_set_loop_release_cb (EV_P_ void (*release)(EV_P) EV_THROW, void (*acquire)(EV_P) EV_THROW) EV_THROW 2556ev_set_loop_release_cb (EV_P_ ev_loop_callback_nothrow release, ev_loop_callback_nothrow acquire) EV_THROW
2557{ 2557{
2558 release_cb = release; 2558 release_cb = release;
2559 acquire_cb = acquire; 2559 acquire_cb = acquire;
2560} 2560}
2561#endif 2561#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines