… | |
… | |
131 | .\} |
131 | .\} |
132 | .rm #[ #] #H #V #F C |
132 | .rm #[ #] #H #V #F C |
133 | .\" ======================================================================== |
133 | .\" ======================================================================== |
134 | .\" |
134 | .\" |
135 | .IX Title "LIBEV 3" |
135 | .IX Title "LIBEV 3" |
136 | .TH LIBEV 3 "2014-09-05" "libev-4.15" "libev - high performance full featured event loop" |
136 | .TH LIBEV 3 "2015-05-01" "libev-4.19" "libev - high performance full featured event loop" |
137 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
137 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
138 | .\" way too many mistakes in technical documents. |
138 | .\" way too many mistakes in technical documents. |
139 | .if n .ad l |
139 | .if n .ad l |
140 | .nh |
140 | .nh |
141 | .SH "NAME" |
141 | .SH "NAME" |
… | |
… | |
4052 | files, \fImy_ev.h\fR and \fImy_ev.c\fR that include the respective libev files: |
4052 | files, \fImy_ev.h\fR and \fImy_ev.c\fR that include the respective libev files: |
4053 | .PP |
4053 | .PP |
4054 | .Vb 4 |
4054 | .Vb 4 |
4055 | \& // my_ev.h |
4055 | \& // my_ev.h |
4056 | \& #define EV_CB_DECLARE(type) struct my_coro *cb; |
4056 | \& #define EV_CB_DECLARE(type) struct my_coro *cb; |
4057 | \& #define EV_CB_INVOKE(watcher) switch_to ((watcher)\->cb); |
4057 | \& #define EV_CB_INVOKE(watcher) switch_to ((watcher)\->cb) |
4058 | \& #include "../libev/ev.h" |
4058 | \& #include "../libev/ev.h" |
4059 | \& |
4059 | \& |
4060 | \& // my_ev.c |
4060 | \& // my_ev.c |
4061 | \& #define EV_H "my_ev.h" |
4061 | \& #define EV_H "my_ev.h" |
4062 | \& #include "../libev/ev.c" |
4062 | \& #include "../libev/ev.c" |