diff options
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> |