diff options
Diffstat (limited to 'sources/shiboken6/doc/typesystem_manipulating_objects.rst')
-rw-r--r-- | sources/shiboken6/doc/typesystem_manipulating_objects.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/shiboken6/doc/typesystem_manipulating_objects.rst b/sources/shiboken6/doc/typesystem_manipulating_objects.rst index e37d04718..2ee3c2ddf 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. @@ -313,7 +314,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 |