Bindings: Fix handling of forward declarations

Authored by skelly on Jan 14 2017, 10:13 PM.

Description

Bindings: Fix handling of forward declarations

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.

Details

Committed
skellyJan 15 2017, 11:18 AM
Parents
R240:8c347c61abaf: Bindings: Use lists in function API instead of strings
Branches
Unknown
Tags
Unknown