aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/doc/typesystem_conversionrule.rst
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-11-23 12:17:10 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2018-11-28 11:44:47 +0000
commitaddfdfb1ff195e36d412dc7aa3dde2f2d474c0ed (patch)
tree8ad1dc69e459d304f2cc264ac69b90e408aaeb28 /sources/shiboken2/ApiExtractor/doc/typesystem_conversionrule.rst
parentfce66005075ed04c99a313c243402d7bef2028ca (diff)
shiboken: Add file snippet handling to native-to-target and add-conversion
Task-number: PYSIDE-834 Change-Id: I3daad497ed32a56c05c8dc2b06271e243d579b99 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/doc/typesystem_conversionrule.rst')
-rw-r--r--sources/shiboken2/ApiExtractor/doc/typesystem_conversionrule.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/doc/typesystem_conversionrule.rst b/sources/shiboken2/ApiExtractor/doc/typesystem_conversionrule.rst
index c62d5bbf6..27e7a72de 100644
--- a/sources/shiboken2/ApiExtractor/doc/typesystem_conversionrule.rst
+++ b/sources/shiboken2/ApiExtractor/doc/typesystem_conversionrule.rst
@@ -63,6 +63,7 @@ native-to-target
**%INTYPE_#**, should be replaced by the types used in the container template
(e.g. **%INTYPE_0** correspondes to **"int"** for **"list<int>"**).
+ The ``file`` and ``snippet`` attributes are also supported (see :ref:`inject-code` nodes).
.. _target-to-native:
@@ -111,3 +112,5 @@ add-conversion
**%in**, **%out**, **%INTYPE**, **%INTYPE_#**, and **%OUTTYPE**, must be provided by
the generator as in the ``native-to-target`` tag.
+ The ``file`` and ``snippet`` attributes are also supported (see :ref:`inject-code` nodes).
+