[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] SIP  Function pointer
From:       computernet2000 () mail ! bg
Date:       2005-12-26 16:08:34
Message-ID: 1135613314.63ff6c2c38a6b () mail ! bg
[Download RAW message or body]



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

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic