[PyKDE] Function pointer problem

jim j jim_jack79 at yahoo.co.in
Fri Sep 8 05:07:49 BST 2006


Hi ,
  I have a problem while compiling the following code.
 the code is given below:

%Module pyMyTimer

typedef void (*TIMERFP)(long);

struct _time
{
%TypeHeaderCode
#include <mytimer.h>
%End
   
    long    expiryTime;
    TIMERFP    pRoutine;
    long    param;

};


%ModuleHeaderCode
#include<cTimer.h>
%End

 int myTimerStart(_time* , long , TIMERFP , long );
 
 long myTimerStop(_time* );
 
I'm  geting  the following error  ,
sip: _time::pRoutine has an unsupported type.


please ,help me to solve the problem... how will i deleare the Function pointer in a  sip 

file? and howl will i use that as parameter in a function?

 
Thanks,
Jim
 				
---------------------------------
 Here's a new way to find what you're looking for - Yahoo! Answers 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060908/70579e66/attachment.html


More information about the PyQt mailing list