aboutsummaryrefslogtreecommitdiffstats
path: root/shibokengenerator.cpp
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2009-08-25 04:11:29 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-08-25 04:11:29 -0300
commitf3973ab15e3a71044d4cbcc2a982a09d739c6c72 (patch)
tree70a5f6c3eca0811afbcde9812251e72346453dc1 /shibokengenerator.cpp
parent838b56730d27a6fd5e229c103f1d9957c58c5b0d (diff)
Generator uses PySequence functions instead of PyTuple or PyList ones
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r--shibokengenerator.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp
index c37791722..27e9f0f68 100644
--- a/shibokengenerator.cpp
+++ b/shibokengenerator.cpp
@@ -317,10 +317,11 @@ QString ShibokenGenerator::cpythonBaseName(const TypeEntry* type)
case ContainerTypeEntry::VectorContainer:
case ContainerTypeEntry::StackContainer:
case ContainerTypeEntry::QueueContainer:
- baseName = "PyList";
- break;
+ //baseName = "PyList";
+ //break;
case ContainerTypeEntry::PairContainer:
- baseName = "PyTuple";
+ //baseName = "PyTuple";
+ baseName = "PySequence";
break;
case ContainerTypeEntry::SetContainer:
baseName = "PySet";