diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-08-12 18:04:01 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-08-16 18:42:52 -0300 |
commit | f548708c9643481b023763aa25722a5a25a268e1 (patch) | |
tree | beb320a64100129fc5dfe8fea8094c22e31b70f5 /tests/samplebinding/typesystem_sample.xml | |
parent | 6e6e88c719568af17b0dcbd6584f7f1b6c9acc80 (diff) |
Create unit test to function with ambiguous signature in Python side.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/samplebinding/typesystem_sample.xml')
-rw-r--r-- | tests/samplebinding/typesystem_sample.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml index 24b4ff875..b3e05d4ed 100644 --- a/tests/samplebinding/typesystem_sample.xml +++ b/tests/samplebinding/typesystem_sample.xml @@ -17,6 +17,11 @@ <include file-name="complex.h" location="global"/> </primitive-type> + <primitive-type name="Null"> + <conversion-rule file="null_conversions.h"/> + <include file-name="null.h" location="global"/> + </primitive-type> + <primitive-type name="OddBool" target-lang-api-name="PyBool"> <conversion-rule file="oddbool_conversions.h"/> <include file-name="oddbool.h" location="global"/> @@ -117,6 +122,9 @@ <value-type name="Derived::SomeInnerClass" /> <object-type name="ObjectType" hash-function="objectTypeHash"> + <!-- rename function to avoid Python signature conflit --> + <modify-function signature="setObject(const Null&)" rename="setNullObject" /> + <modify-function signature="event(Event*)"> <modify-argument index="1" invalidate-after-use="yes"/> </modify-function> @@ -199,6 +207,7 @@ </modify-function> </object-type> + <value-type name="Event"/> <value-type name="BlackBox"> |