aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-09-21 15:46:10 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-09-26 14:29:42 +0000
commit64c58cb6091f9e59ada79a59264d7c54d2cc0462 (patch)
tree53fad787d1404a85c1cc7f44943a026b874f0c81
parente987473f83e6e23978f52b39ce3066ac29bb30cb (diff)
Document the argument-type attribute of the rejection typesystem element
Fixes: PYSIDE-2015 Change-Id: Ia1dc946f03ec6bdbe92fa0ebbe4a73f3a7faafcf Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> (cherry picked from commit 4669e8ef08eeb4dc81df04214807e9c4da8fc965) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/shiboken6/doc/typesystem_specifying_types.rst13
1 files changed, 8 insertions, 5 deletions
diff --git a/sources/shiboken6/doc/typesystem_specifying_types.rst b/sources/shiboken6/doc/typesystem_specifying_types.rst
index 6dda54786..867a4dd8d 100644
--- a/sources/shiboken6/doc/typesystem_specifying_types.rst
+++ b/sources/shiboken6/doc/typesystem_specifying_types.rst
@@ -108,14 +108,17 @@ rejection
<typesystem>
<rejection class="..."
function-name="..."
+ argument-type="..."
field-name="..." />
</typesystem>
- The **class** attribute is the C++ class name of the class to reject. Use the
- *optional* **function-name** or **field-name** attributes to reject a particular
- function or field. Note that the **field-name** and **function-name** cannot
- be specified at the same time. To remove all occurrences of a given field or
- function, set the class attribute to \*.
+ The **class** attribute is the C++ class name of the class to reject. Use
+ the *optional* **function-name**, **argument-type**, or **field-name**
+ attributes to reject a particular function, function with arguments of a
+ particular type, or a field. Note that the **field-name** and
+ **function-name**/**argument-type** cannot be specified at the same time.
+ To remove all occurrences of a given field or function, set the class
+ attribute to \*.
.. _primitive-type: