aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding
diff options
context:
space:
mode:
Diffstat (limited to 'tests/samplebinding')
-rw-r--r--tests/samplebinding/typesystem_sample.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index 91771699f..75d222b7b 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -153,7 +153,7 @@
<add-function signature="passReferenceToObjectType(ObjectType*)" return-type="int">
<inject-code>
// The dot in "%1." must be replaced with a "->" by the generator.
- double %0 = %1.objectName().size();
+ %RETURN_TYPE %0 = %1.objectName().size();
%PYARG_0 = %CONVERTTOPYTHON[%RETURN_TYPE](%0);
</inject-code>
</add-function>