diff options
| -rw-r--r-- | sources/shiboken6/doc/typesystem_specifying_types.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sources/shiboken6/doc/typesystem_specifying_types.rst b/sources/shiboken6/doc/typesystem_specifying_types.rst index 86c0899ad..4ded8b787 100644 --- a/sources/shiboken6/doc/typesystem_specifying_types.rst +++ b/sources/shiboken6/doc/typesystem_specifying_types.rst @@ -207,6 +207,8 @@ child nodes. generate-using="yes | no" package="..." since="..." + extends = "..." + files = "..." revision="..." /> </typesystem> @@ -237,6 +239,16 @@ The *optional* **since** value is used to specify the API version of this type. The **revision** attribute can be used to specify a revision for each type, easing the production of ABI compatible bindings. +The *optional* **extends** attribute specifies the module name where the given +namespace first occurs in case of a namespace spanning several modules. For +example, in Qt, the namespace ``Qt`` first occurs in the ``QtCore`` module and +is further populated in the ``QtGui`` module. ``QtGui.Qt`` will then be +generated extending ``QtCore.Qt`` if **extends** is specified. + +The *optional* **file** attribute specifies a regular expression matching the +include files whose contents are to be associated with the current module in +case of a namespace spanning several modules. + .. _enum-type: enum-type |
