aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-07-08 17:14:19 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-07-09 11:01:03 -0300
commit3a5631f5c67606fea83037eaf6db5aceca327ecb (patch)
tree59bcfc9087b52268c8362728ac45eb401a026c6b
parentecb3ad016b75c5ae235f17a245817bea41aad3c4 (diff)
Remove old code inherited from boost python generator.
-rw-r--r--shibokengenerator.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp
index cc6894f62..df6093195 100644
--- a/shibokengenerator.cpp
+++ b/shibokengenerator.cpp
@@ -991,18 +991,7 @@ void ShibokenGenerator::writeArgumentNames(QTextStream &s,
if (argCount > 0)
s << ", ";
-
- if ((options & Generator::BoxedPrimitive) &&
- !arguments.at(j)->type()->isReference() &&
- (arguments.at(j)->type()->isQObject() ||
- arguments.at(j)->type()->isObject())) {
- //s << "brian::wrapper_manager::instance()->retrieve( " << arguments.at(j)->argumentName() << " )";
- // TODO: replace boost thing
- Q_ASSERT(false);
- s << "python::ptr( " << arguments.at(j)->argumentName() << " )";
- } else {
- s << arguments.at(j)->argumentName();
- }
+ s << arguments.at(j)->name();
if (((options & Generator::VirtualCall) == 0) &&
(!func->conversionRule(TypeSystem::NativeCode, arguments.at(j)->argumentIndex() + 1).isEmpty() ||