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

Comparing EV/EV/MakeMaker.pm (file contents):
Revision 1.11 by root, Tue Apr 17 17:52:32 2018 UTC vs.
Revision 1.12 by root, Tue Apr 17 18:51:05 2018 UTC

44This allows you to access some libevent functionality from other perl 44This allows you to access some libevent functionality from other perl
45modules. 45modules.
46 46
47=head1 DESCRIPTION 47=head1 DESCRIPTION
48 48
49For optimal performance, hook into EV at the C-level. You'll need 49For optimal performance, hook into EV at the C-level. You'll need to make
50to make changes to your C<Makefile.PL> and add code to your C<xs> / 50changes to your C<Makefile.PL>, load C<EV> in your C<pm> file and add
51C<c> file(s). 51code to your C<xs> / C<c> file(s).
52 52
53=head1 HOW TO 53=head1 HOW TO
54 54
55=head2 Makefile.PL 55=head2 Makefile.PL
56 56
69 #include "EVAPI.h" 69 #include "EVAPI.h"
70 70
71 [...] 71 [...]
72 72
73 BOOT: 73 BOOT:
74 I_EV_API ("YourModule"); 74 I_EV_API (HvNAME (GvSTASH (CvGV (cv))));
75 75
76=head1 API 76=head1 API
77 77
78See the L<EVAPI.h|http://cvs.schmorp.de/EV/EV/EVAPI.h> header, which you 78See the L<EVAPI.h|http://cvs.schmorp.de/EV/EV/EVAPI.h> header, which you
79should include instead of F<ev.h>. 79should include instead of F<ev.h>.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines