From 5ad960a6f99234c2085d0247aaf0c9343cae5be1 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 24 Nov 2007 10:10:26 +0000 Subject: include embedding doc in main doc --- ev.3 | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'ev.3') diff --git a/ev.3 b/ev.3 index 5ff2d65..0d526fc 100644 --- a/ev.3 +++ b/ev.3 @@ -1799,29 +1799,21 @@ The usage in rxvt-unicode is simpler. It has a \fIev_cpp.h\fR header file that everybody includes and which overrides some autoconf choices: .Sp .Vb 4 -\& #define EV_USE_POLL 0 -\& #define EV_MULTIPLICITY 0 -\& #define EV_PERIODICS 0 -\& #define EV_CONFIG_H +\& #define EV_USE_POLL 0 +\& #define EV_MULTIPLICITY 0 +\& #define EV_PERIODICS 0 +\& #define EV_CONFIG_H .Ve .Sp .Vb 1 -\& #include "ev++.h" +\& #include "ev++.h" .Ve .Sp And a \fIev_cpp.C\fR implementation file that contains libev proper and is compiled: .Sp -.Vb 1 -\& #include "rxvttoolkit.h" -.Ve -.Sp .Vb 2 -\& /* darwin has problems with its header files in C++, requiring this namespace juggling */ -\& using namespace ev; -.Ve -.Sp -.Vb 1 -\& #include "ev.c" +\& #include "ev_cpp.h" +\& #include "ev.c" .Ve .SH "AUTHOR" .IX Header "AUTHOR" -- cgit v1.2.3