aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-09-21 15:46:10 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-09-27 10:43:01 +0200
commit5aabf453a72a59119380296cbf7631fb0d93f9fd (patch)
tree65f0690dee26ce365738206295dcf7b625eab783
parent58b923aae003d5ff39a2cc401078c1b38ba17bc8 (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)
-rw-r--r--sources/shiboken2/doc/typesystem_specifying_types.rst13
1 files changed, 8 insertions, 5 deletions
diff --git a/sources/shiboken2/doc/typesystem_specifying_types.rst b/sources/shiboken2/doc/typesystem_specifying_types.rst
index 221519541..e43b878ba 100644
--- a/sources/shiboken2/doc/typesystem_specifying_types.rst
+++ b/sources/shiboken2/doc/typesystem_specifying_types.rst
@@ -81,14 +81,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: