[PyQt] How does PyQt handle inlined functions?

David Boddie david at boddie.org.uk
Sat Nov 23 13:30:52 GMT 2013


On Fri, 22 Nov 2013 08:49:18 -0800 (PST), ddobrev wrote:

> I was wondering how inlined functions are handled in PyQt. I mean not those
> which are just declared inline but the ones that are actually inlined. That
> is, no binary code is generated for them in the containing lib during
> compilation but rather calls to them are replaced with their
> implementation. Does PyQt, for example, distribute additional libraries
> that contain all inlines? If not, what approach does it use?

If the function is part of the public API then it will be described in a sip
file and inlined in the wrapper code produced by sip.

Can you give an example of an inline function that you think would need to be
treated specially?

Regards,

David


More information about the PyQt mailing list