summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/typesystem_sample.xml
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2010-03-24 17:48:35 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2010-03-26 16:02:04 -0300
commit817e90dab1c2727bf4e5b96fdf1ba8a39dfd0736 (patch)
tree02999ab5e48a0559c61f38cfa21bed227fe13332 /tests/samplebinding/typesystem_sample.xml
parent03525843adab2fceda8c1e3aa2d9f1ad72bcda89 (diff)
downloadshiboken-817e90dab1c2727bf4e5b96fdf1ba8a39dfd0736.tar.gz
shiboken-817e90dab1c2727bf4e5b96fdf1ba8a39dfd0736.tar.xz
shiboken-817e90dab1c2727bf4e5b96fdf1ba8a39dfd0736.zip
Adds test case for libsample's Size class copy constructor.
Also fixes samplebinding type system indentation.
Diffstat (limited to 'tests/samplebinding/typesystem_sample.xml')
-rw-r--r--tests/samplebinding/typesystem_sample.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index 14ce1e18..8a36ec05 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -876,12 +876,12 @@
<value-type name="Time"/>
<value-type name="Size">
<add-function signature="Size(const char*)">
- <inject-code class="target" position="beginning">
- %0 = new %TYPE();
- </inject-code>
- <inject-code class="target" position="end">
- Shiboken::AutoDecRef result(PyObject_CallMethod(%PYSELF, "setHeight", "i", 2));
- </inject-code>
+ <inject-code class="target" position="beginning">
+ %0 = new %TYPE();
+ </inject-code>
+ <inject-code class="target" position="end">
+ Shiboken::AutoDecRef result(PyObject_CallMethod(%PYSELF, "setHeight", "i", 2));
+ </inject-code>
</add-function>
</value-type>
<value-type name="MapUser"/>