aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-12-22 21:49:25 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:18:36 -0300
commitc226e110d53cf9d06695bea3b79db8fd1371e0d2 (patch)
tree4377c94b746229d48c4f66f1f742b508802c58b2 /tests/samplebinding
parent3ca9f740017276506f97e8d7b6da95852bcc3d57 (diff)
Declares Python types using the new "<custom-type>" tag.
Diffstat (limited to 'tests/samplebinding')
-rw-r--r--tests/samplebinding/typesystem_sample.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index c5ac460e6..6ab2d154e 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -3,6 +3,12 @@
<suppress-warning text="Duplicate type entry: 'sample'" />
<suppress-warning text="Duplicate type entry: 'SampleNamespace'" />
+ <custom-type name="str"/>
+ <custom-type name="PyBytes"/>
+ <custom-type name="PyDate"/>
+ <custom-type name="PyObject"/>
+ <custom-type name="PyUnicode"/>
+
<primitive-type name="bool"/>
<primitive-type name="double"/>
<primitive-type name="real"/>