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
_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to