aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-01-29 20:21:31 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-01-30 13:37:44 +0100
commit7088823da7c04a433b140f070f18dba0d744f95f (patch)
tree0f1a17f58ad39021eed807392fdd4715f1cba68e
parent102b7fffa1721430acbb17624bb216b80de5ae5a (diff)
shiboken6: Document missing namespace attributes
Amends 91cb27a2a7180e9c05b806d870b266fa31bef041 Pick-to: 6.6 6.2 Change-Id: Id68305dbe40727e85c7d483e5692d0329bee2f02 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
-rw-r--r--sources/shiboken6/doc/typesystem_specifying_types.rst12
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