aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/shibokenmodule/typesystem_shiboken.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/shibokenmodule/typesystem_shiboken.xml')
-rw-r--r--sources/shiboken6/shibokenmodule/typesystem_shiboken.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken6/shibokenmodule/typesystem_shiboken.xml b/sources/shiboken6/shibokenmodule/typesystem_shiboken.xml
index 5bc361644..e0137f4a3 100644
--- a/sources/shiboken6/shibokenmodule/typesystem_shiboken.xml
+++ b/sources/shiboken6/shibokenmodule/typesystem_shiboken.xml
@@ -29,7 +29,7 @@
</inject-code>
</add-function>
- <add-function signature="getCppPointer(PyObject*)" return-type="PyObject*">
+ <add-function signature="getCppPointer(PyObject*)" return-type="PySequence*">
<inject-code>
if (Shiboken::Object::checkType(%1)) {
std::vector&lt;void*> ptrs = Shiboken::Object::cppPointers(reinterpret_cast&lt;SbkObject *&gt;(%1));
@@ -74,7 +74,7 @@
</inject-code>
</add-function>
- <add-function signature="dump(PyObject*)" return-type="PyObject*">
+ <add-function signature="dump(PyObject*)" return-type="const char *">
<inject-code>
if (!Shiboken::Object::checkType(%1)) {
%PYARG_0 = Shiboken::String::fromCString("Ordinary Python type.");
@@ -85,7 +85,7 @@
</inject-code>
</add-function>
- <add-function signature="getAllValidWrappers(void)" return-type="PyObject*">
+ <add-function signature="getAllValidWrappers(void)" return-type="PySequence*">
<inject-code>
std::set&lt;PyObject*&gt; setAll = Shiboken::BindingManager::instance().getAllPyObjects();
PyObject* listAll = PyList_New(0);