summaryrefslogtreecommitdiff
path: root/ev.html
diff options
context:
space:
mode:
authorroot <root>2007-11-24 10:10:26 +0000
committerroot <root>2007-11-24 10:10:26 +0000
commit5010870994df355cb2c51bd81ceb00ff20419344 (patch)
treec917a6a294a43797e8972e812558fb141818a756 /ev.html
parent9e2c6f5f713cf5b0a9dc3b1aed5b0b7f06f3b6dc (diff)
include embedding doc in main doc
Diffstat (limited to 'ev.html')
-rw-r--r--ev.html23
1 files changed, 8 insertions, 15 deletions
diff --git a/ev.html b/ev.html
index 9dd27c1..d6ae9cb 100644
--- a/ev.html
+++ b/ev.html
@@ -6,7 +6,7 @@
<meta name="description" content="Pod documentation for libev" />
<meta name="inputfile" content="&lt;standard input&gt;" />
<meta name="outputfile" content="&lt;standard output&gt;" />
- <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 &lt;config.h&gt;
+<pre> #define EV_USE_POLL 0
+ #define EV_MULTIPLICITY 0
+ #define EV_PERIODICS 0
+ #define EV_CONFIG_H &lt;config.h&gt;
- #include &quot;ev++.h&quot;
+ #include &quot;ev++.h&quot;
</pre>
<p>And a <cite>ev_cpp.C</cite> implementation file that contains libev proper and is compiled:</p>
-<pre> #include &quot;rxvttoolkit.h&quot;
-
- /* darwin has problems with its header files in C++, requiring this namespace juggling */
- using namespace ev;
-
- #include &quot;ev.c&quot;
-
-
-
+<pre> #include &quot;ev_cpp.h&quot;
+ #include &quot;ev.c&quot;
</pre>