Hi all,
I am new to SWIG. I am facing problem in implementing a Python wrapper function involving Callback function.

The current C API in native code is like --->
int captureEvent(int i_eventHandle, void* (*callBackFunction)(st_eventInfo_t *peventInfo));
st_eventInfo_t is a structure
        typedef struct st_eventInfo_t {
                      int filterNo;
                      int port1;
              } st_eventInfo_t;

I have to write a wrapper function in Python. And Python function msut in turn call above C API.
Can anybody give me hint about how to implement interface file and example if possible.

Thanks in advance,