aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-08-15 22:33:31 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:17:12 -0300
commit4f782f5d0f97633261690a19de7dfa62eeec2741 (patch)
tree52d5aac8b160e288308d40ddcb86571929f8d73c /tests/samplebinding
parent9c5a9169cf0d710fe4cfab305e096623d8cbdaaf (diff)
Added a test for an user defined primitive type from a required module.
Also sorted the tests order alphabetically and fixed inject code for SampleNamespaces' passReferenceToObjectType method.
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>