aboutsummaryrefslogtreecommitdiffstats
path: root/tests/minimalbinding/typesystem_minimal.xml
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-05-28 15:16:10 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:15:25 -0300
commit9c172e94cb5d2fd263a653a5515f02194cf3279d (patch)
treecd6950a5cc3dbaa55c026fbbe4ee26656950c164 /tests/minimalbinding/typesystem_minimal.xml
parentc1253405144232e4c6db791ce43bd6d4f25ea9f6 (diff)
Added the basic cases for container conversions.
The cases are made of conversions of lists of: * C++ primitive type * C++ class treated as Python primitive type * Value type as C++ value * Object type as C++ pointer * Container of container of C++ primitive type The container is converted when called from Python or from C++ (via virtual methods), and passed as arguments to Python and to C++. Reviewed by Luciano Wolf <luciano.wolf@openbossa.org> Reviewed by Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'tests/minimalbinding/typesystem_minimal.xml')
-rw-r--r--tests/minimalbinding/typesystem_minimal.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/minimalbinding/typesystem_minimal.xml b/tests/minimalbinding/typesystem_minimal.xml
index c3e681177..7f160ddaf 100644
--- a/tests/minimalbinding/typesystem_minimal.xml
+++ b/tests/minimalbinding/typesystem_minimal.xml
@@ -8,8 +8,14 @@
<include file-name="minbool.h" location="global"/>
</primitive-type>
+ <container-type name="std::list" type="list">
+ <conversion-rule file="list_conversions.h"/>
+ <include file-name="list" location="global"/>
+ </container-type>
+
<object-type name="Obj"/>
<value-type name="Val"/>
+ <value-type name="ListUser"/>
<value-type name="MinBoolUser"/>
</typesystem>