ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Glib-EV/EV.pm
(Generate patch)

Comparing Glib-EV/EV.pm (file contents):
Revision 1.2 by root, Sun Nov 25 09:46:35 2007 UTC vs.
Revision 1.3 by root, Thu Dec 20 07:23:50 2007 UTC

21 use Glib::EV; 21 use Glib::EV;
22 async { main Gtk2 }; 22 async { main Gtk2 };
23 # ... do other things 23 # ... do other things
24 24
25=head1 DESCRIPTION 25=head1 DESCRIPTION
26
27If you want to use glib/gtk+ in an EV program, then you need to look at
28the EV::Glib module, not this one, as this module requires you to run a
29Glib or Gtk+ main loop in your program.
30
31If you want to use EV in an Glib/Gtk+ program, you are at the right place
32here.
26 33
27This module coerces the Glib event loop to use the EV high performance 34This module coerces the Glib event loop to use the EV high performance
28event loop as underlying event loop, i.e. EV will be used by Glib for all 35event loop as underlying event loop, i.e. EV will be used by Glib for all
29events. 36events.
30 37
60use EV (); 67use EV ();
61 68
62our $default_poll_func; 69our $default_poll_func;
63 70
64BEGIN { 71BEGIN {
65 $VERSION = '1.0'; 72 $VERSION = '2.0';
66 73
67 require XSLoader; 74 require XSLoader;
68 XSLoader::load (Glib::EV, $VERSION); 75 XSLoader::load (Glib::EV, $VERSION);
69 76
70 $default_poll_func = install (undef); 77 $default_poll_func = install (undef);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines