aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/doc
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/doc')
-rw-r--r--sources/shiboken6/doc/typesystem_manipulating_objects.rst3
-rw-r--r--sources/shiboken6/doc/typesystem_modify_function.rst3
2 files changed, 4 insertions, 2 deletions
diff --git a/sources/shiboken6/doc/typesystem_manipulating_objects.rst b/sources/shiboken6/doc/typesystem_manipulating_objects.rst
index 79add6d57..653de7718 100644
--- a/sources/shiboken6/doc/typesystem_manipulating_objects.rst
+++ b/sources/shiboken6/doc/typesystem_manipulating_objects.rst
@@ -261,6 +261,7 @@ add-function
language, and it is a child of an :ref:`object-type` or :ref:`value-type` nodes if the
function is supposed to be a method, or :ref:`namespace` and :ref:`typesystem` if
the function is supposed to be a function inside a namespace or a global function.
+ It may contain :ref:`modify-argument` nodes.
Typically when adding a function some code must be injected to provide the function
logic. This can be done using the :ref:`inject-code` node.
@@ -303,7 +304,7 @@ declare-function
the type and it is a child of an :ref:`object-type` or :ref:`value-type` nodes
if the function is supposed to be a method, or :ref:`namespace` and
:ref:`typesystem` if the function is supposed to be a function inside a
- namespace or a global function.
+ namespace or a global function. It may contain :ref:`modify-argument` nodes.
.. code-block:: xml
diff --git a/sources/shiboken6/doc/typesystem_modify_function.rst b/sources/shiboken6/doc/typesystem_modify_function.rst
index d7cb50dd6..19d0f211a 100644
--- a/sources/shiboken6/doc/typesystem_modify_function.rst
+++ b/sources/shiboken6/doc/typesystem_modify_function.rst
@@ -9,7 +9,8 @@ modify-argument
^^^^^^^^^^^^^^^
Function modifications consist of a list of ``modify-argument`` nodes
- contained in a :ref:`modify-function` node. Use the :ref:`remove-argument`,
+ contained in :ref:`modify-function`, :ref:`add-function` or
+ :ref:`declare-function` nodes. Use the :ref:`remove-argument`,
:ref:`replace-default-expression`, :ref:`remove-default-expression`,
:ref:`replace-type`, :ref:`reference-count` and :ref:`define-ownership`
nodes to specify the details of the modification.