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));
swig-user@...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,
Prashanth
______________________________________________________________________
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf_______________________________________________
Swig-user mailing list
Swig-user@...
https://lists.sourceforge.net/lists/listinfo/swig-user