diff options
author | root <root> | 2007-11-24 10:10:26 +0000 |
---|---|---|
committer | root <root> | 2007-11-24 10:10:26 +0000 |
commit | 5ad960a6f99234c2085d0247aaf0c9343cae5be1 (patch) | |
tree | 361a404a02289f656ba843a9e6b0f4e0fab718cd /ev.3 | |
parent | 5010870994df355cb2c51bd81ceb00ff20419344 (diff) |
include embedding doc in main doc
Diffstat (limited to 'ev.3')
-rw-r--r-- | ev.3 | 22 |
1 files changed, 7 insertions, 15 deletions
@@ -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 <config.h> +\& #define EV_USE_POLL 0 +\& #define EV_MULTIPLICITY 0 +\& #define EV_PERIODICS 0 +\& #define EV_CONFIG_H <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" |