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.4 by root, Sat Jan 31 09:49:55 2009 UTC

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 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.
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
31This makes Glib compatible to EV. Calls into the Glib main loop are more 38This makes Glib compatible to EV. Calls into the Glib main loop are more
36 43
37=item * The Glib perl module is not used. 44=item * The Glib perl module is not used.
38 45
39This module has no dependency on the existing Glib perl interface, as it 46This module has no dependency on the existing Glib perl interface, as it
40uses glib directly. The Glib module can, however, be used without any 47uses glib directly. The Glib module can, however, be used without any
41problems (as long as evereybody uses shared libraries to keep everybody 48problems (as long as everybody uses shared libraries to keep everybody
42else happy). 49else happy).
43 50
44=item * The default context will be changed when the module is loaded. 51=item * The default context will be changed when the module is loaded.
45 52
46Loading this module will automatically "patch" the default context of 53Loading this module will automatically "patch" the default context of
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.01';
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