[Libevent-users] looking for a swig interface for libevent
william at opensource4you.com
william at opensource4you.com
Mon Dec 25 13:16:25 EST 2006
Hello,
I'm python developer and using libevent via pyevent (pyrex).
But, is there any one having a Swig interface for libevent ?
I've tried a simple one (example.i):
"""
%module example
%{
#include "http-internal.h"
%}
%include "http-internal.h"
"""
but got error, when doing "swig -python example.i":
"""
http-internal.h:40: Error: Syntax error in input(3).
http-internal.h:52: Warning(305): Bad constant value (ignored).
"""
line 40 is:
"""
TAILQ_ENTRY(evhttp_connection) next;
"""
Thanks.
More information about the Libevent-users
mailing list