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

Comparing libev/ev++.h (file contents):
Revision 1.59 by root, Wed May 9 16:50:23 2012 UTC vs.
Revision 1.61 by root, Sun Jun 24 14:30:40 2012 UTC

550 inline unsigned int embeddable_backends () throw () 550 inline unsigned int embeddable_backends () throw ()
551 { 551 {
552 return ev_embeddable_backends (); 552 return ev_embeddable_backends ();
553 } 553 }
554 554
555 inline void set_allocator (void *(*cb)(void *ptr, long size)) throw () 555 inline void set_allocator (void *(*cb)(void *ptr, long size) throw ()) throw ()
556 { 556 {
557 ev_set_allocator (cb); 557 ev_set_allocator (cb);
558 } 558 }
559 559
560 inline void set_syserr_cb (void (*cb)(const char *msg)) throw () 560 inline void set_syserr_cb (void (*cb)(const char *msg) throw ()) throw ()
561 { 561 {
562 ev_set_syserr_cb (cb); 562 ev_set_syserr_cb (cb);
563 } 563 }
564 564
565 #if EV_MULTIPLICITY 565 #if EV_MULTIPLICITY
762 EV_END_WATCHER (check, check) 762 EV_END_WATCHER (check, check)
763 #endif 763 #endif
764 764
765 #if EV_EMBED_ENABLE 765 #if EV_EMBED_ENABLE
766 EV_BEGIN_WATCHER (embed, embed) 766 EV_BEGIN_WATCHER (embed, embed)
767 void set (struct ev_loop *embedded_loop) throw () 767 void set_embed (struct ev_loop *embedded_loop) throw ()
768 { 768 {
769 int active = is_active (); 769 int active = is_active ();
770 if (active) stop (); 770 if (active) stop ();
771 ev_embed_set (static_cast<ev_embed *>(this), embedded_loop); 771 ev_embed_set (static_cast<ev_embed *>(this), embedded_loop);
772 if (active) start (); 772 if (active) start ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines