[PyKDE] SIP Function pointer

computernet2000 at mail.bg computernet2000 at mail.bg
Mon Dec 26 16:08:34 GMT 2005



Hi !

This line of documentation is not work for me ...

typedef ::= typedef [typed-name | function-pointer] ;

i have

  typedef void(*invoke_python_callback)(void);

after that, when i try to set the typedef in function
invoke_py ,who accept pointer to function
   void invoke_py(invoke_python_callback);
receive this error:
sip: Callback::invoke_py() unsupported function argument
type - provide %Method code and a valid C++ signature

where i'm wrong ?


Thanks.

-----------------------------

Някои DVD в СЛОН.БГ:
· Star Wars Епизод III: Отмъщението на Ситите
· Небесно царство
· Полярен Експрес
http://www.slon.bg




More information about the PyQt mailing list