[PyQt] SIP: how to add a new annotation

Giovanni Bajo rasky at develer.com
Fri Oct 5 10:21:16 BST 2007

On 10/4/2007 6:11 PM, Phil Thompson wrote:

> You'd need to define a new over flag in sip.h, set it in parser.y and test it 
> (and generate the necessary code) in gencode.c.


> Or you could use the existing PreHook annotation.

But I'd have to duplicate the code for every function I need to mark 
with /Deprecated/.
Giovanni Bajo

More information about the PyQt mailing list