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.


_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to