aboutsummaryrefslogtreecommitdiff
path: root/tests/GenerateSipBindings/testscript.py
AgeCommit message (Collapse)Author
2017-01-15Bindings: Fix handling of forward declarationsStephen Kelly
It is not appropriate to decorate each forward declaration with the SIP attribute /External/. That is only needed for forward declarations of types which are defined in a different module. Local forward declarations can be omitted from the sip code. In sip code, a forward declaration followed later by a full class definition is an error. Omit forward declarations unless they are decorated with the external attribute. Introduce a rules database for consumers to decorate them with the attribute as required.
2017-01-13Bindings: Implement ModuleCode and MethodCode databasesStephen Kelly
2017-01-09Extend unit test with code similar to kguiaddonsStephen Kelly
2017-01-05Skip attributes on enums when generating bindingsShaheed Haque
2016-10-31Add the PythonModuleGeneration moduleStephen Kelly
This can be used by KF5 libraries to generate python 2 and 3 bindings.