[Libevent-users] C++ interface(s) [was: libev-1.3e...]
Chris Brody
chris.brody at gmail.com
Fri Nov 9 12:18:01 EST 2007
On 11/9/07, Marc Lehmann <libev at schmorp.de> wrote:
> On Fri, Nov 09, 2007 at 01:28:08AM +0100, Chris Brody-GMail <chris.brody at gmail.com> wrote:
> > Your new archive built OK on my OSX machine-thanks again!
>
> Great. I am about to check in a change that allwos you to override header
> locations e.g. like this:
>
> #define EV_H <ev_ev.h>
> #include "ev.c"
> #define EV_EVENT_H <event.h>
> #include "event.c"
First a quick remark: I thought these definitions were ugly. Another
workaround on OSX would be to install ev.h in /usr/local/include since
Apple's ev.h is in /usr/include.
I would propose something like putting the definitions & macros in one
file such as ev_defs.h, the function prototypes in ev_proto(types).h,
and a convenience ev.h to include both.
More information about the Libevent-users
mailing list