summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-04-16 14:36:13 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-04-22 19:45:24 -0300
commit541a47b1c003cfc9eaec685918ad54a463f202c2 (patch)
treee99106545278dcd73a28ea6cca7cf6bc97353117 /tests/samplebinding
parent63bb4a282c30d7ceecf4f23465db48524a20ebf7 (diff)
downloadshiboken-541a47b1c003cfc9eaec685918ad54a463f202c2.tar.gz
shiboken-541a47b1c003cfc9eaec685918ad54a463f202c2.tar.xz
shiboken-541a47b1c003cfc9eaec685918ad54a463f202c2.zip
Add declaration of global functions on sample typesystem.
Diffstat (limited to 'tests/samplebinding')
-rw-r--r--tests/samplebinding/typesystem_sample.xml27
1 files changed, 24 insertions, 3 deletions
diff --git a/tests/samplebinding/typesystem_sample.xml b/tests/samplebinding/typesystem_sample.xml
index cfe709a6..5f66e760 100644
--- a/tests/samplebinding/typesystem_sample.xml
+++ b/tests/samplebinding/typesystem_sample.xml
@@ -34,6 +34,30 @@
<include file-name="map" location="global"/>
</container-type>
+ <function signature="sumComplexPair(std::pair&lt;Complex, Complex>)" />
+ <function signature="gimmeComplexList()" />
+ <function signature="transmuteComplexIntoPoint(const Complex&amp;)" />
+ <function signature="transmutePointIntoComplex(const Point&amp;)" />
+ <function signature="sumComplexPair(std::pair&lt;Complex, Complex>)" />
+ <function signature="doubleUnsignedInt(unsigned int)" />
+ <function signature="doubleShort(short)" />
+ <function signature="returnNullPrimitivePointer()" />
+ <function signature="returnNullValueTypePointer()" />
+ <function signature="returnNullObjectTypePointer()" />
+ <function signature="acceptInt(int)" />
+ <function signature="acceptUInt(unsigned int)" />
+ <function signature="acceptLong(long)" />
+ <function signature="acceptULong(unsigned long)" />
+ <function signature="acceptDouble(double)" />
+ <function signature="countCharacters(const char*)" />
+ <function signature="gimmeInt()" />
+ <function signature="gimmeDouble()" />
+ <function signature="makeCString()" />
+ <function signature="multiplyPair(std::pair&lt;double, double>)" />
+ <function signature="returnCString()" />
+ <function signature="overloadedFunc(double)" />
+ <function signature="overloadedFunc(int)" />
+
<enum-type name="Abstract::PrintFormat"/>
<enum-type name="OverloadedFuncEnum"/>
<enum-type name="Derived::OtherOverloadedFuncEnum"/>
@@ -1036,9 +1060,6 @@
<rejection class="ListUser" function-name="sumList(std::list&lt;int&gt;)"/>
<rejection class="ListUser" function-name="sumList(std::list&lt;double&gt;)"/>
- <rejection class="" function-name="gimmeComplexList()"/>
- <rejection class="" function-name="makeCString()"/>
- <rejection class="" function-name="returnCString()"/>
<suppress-warning text="::*" />
<suppress-warning text="horribly broken type '__off64_t'" />