aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/tests/injectedcode.txt
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-10-18 13:03:24 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-10-20 11:09:52 +0000
commitf595aa5d9d45bc772d2e9aea24f44dc5d43c45be (patch)
tree85bd1c10ea9a95dfa1b611f450dda78d4ecec7cb /sources/shiboken2/ApiExtractor/tests/injectedcode.txt
parentb2d3a7dac9ca968b5800b6da1661e632a7ea9e90 (diff)
Add snippet extraction to shiboken
Add a snippet attribute to inject-code and conversion-rule instructing shiboken to extract code from a source file using annotations. Task-number: PYSIDE-834 Change-Id: I576c4a48fe68e9d26fe46e324af5baa88a5c1d34 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/tests/injectedcode.txt')
-rw-r--r--sources/shiboken2/ApiExtractor/tests/injectedcode.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/tests/injectedcode.txt b/sources/shiboken2/ApiExtractor/tests/injectedcode.txt
new file mode 100644
index 000000000..872898810
--- /dev/null
+++ b/sources/shiboken2/ApiExtractor/tests/injectedcode.txt
@@ -0,0 +1,5 @@
+// Bla
+// @snippet label
+code line
+// @snippet label
+// Bla