diff options
author | root <root> | 2007-11-24 10:10:26 +0000 |
---|---|---|
committer | root <root> | 2007-11-24 10:10:26 +0000 |
commit | 5010870994df355cb2c51bd81ceb00ff20419344 (patch) | |
tree | c917a6a294a43797e8972e812558fb141818a756 /ev.html | |
parent | 9e2c6f5f713cf5b0a9dc3b1aed5b0b7f06f3b6dc (diff) |
include embedding doc in main doc
Diffstat (limited to 'ev.html')
-rw-r--r-- | ev.html | 23 |
1 files changed, 8 insertions, 15 deletions
@@ -6,7 +6,7 @@ <meta name="description" content="Pod documentation for libev" /> <meta name="inputfile" content="<standard input>" /> <meta name="outputfile" content="<standard output>" /> - <meta name="created" content="Sat Nov 24 11:10:25 2007" /> + <meta name="created" content="Sat Nov 24 11:15:15 2007" /> <meta name="generator" content="Pod::Xhtml 1.57" /> <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> <body> @@ -1672,24 +1672,17 @@ will be compiled. It is pretty complex because it provides its own header file.</p> <p>The usage in rxvt-unicode is simpler. It has a <cite>ev_cpp.h</cite> header file that everybody includes and which overrides some autoconf choices:</p> -<pre> #define EV_USE_POLL 0 - #define EV_MULTIPLICITY 0 - #define EV_PERIODICS 0 - #define EV_CONFIG_H <config.h> +<pre> #define EV_USE_POLL 0 + #define EV_MULTIPLICITY 0 + #define EV_PERIODICS 0 + #define EV_CONFIG_H <config.h> - #include "ev++.h" + #include "ev++.h" </pre> <p>And a <cite>ev_cpp.C</cite> implementation file that contains libev proper and is compiled:</p> -<pre> #include "rxvttoolkit.h" - - /* darwin has problems with its header files in C++, requiring this namespace juggling */ - using namespace ev; - - #include "ev.c" - - - +<pre> #include "ev_cpp.h" + #include "ev.c" </pre> |