From 6bb2780c978d93b6ebe7b423adda27e4292467f2 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Tue, 2 Aug 2011 13:06:58 -0300 Subject: Added test for removed pointer out argument. --- tests/samplebinding/typesystem_sample.xml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'tests/samplebinding/typesystem_sample.xml') diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml index 25301973e..5184526e4 100644 --- a/tests/samplebinding/typesystem_sample.xml +++ b/tests/samplebinding/typesystem_sample.xml @@ -1135,6 +1135,22 @@ %PYARG_0 = Py_BuildValue("(OO)", type, args); + + + + + + + + + + Point _midpoint; + // The test consists in *NOT* using the ARGUMENT_NAMES type system variable. + %CPPSELF.%FUNCTION_NAME(%1, &_midpoint); + %PYARG_0 = %CONVERTTOPYTHON[Point](_midpoint); + + +