aboutsummaryrefslogtreecommitdiffstats
path: root/headergenerator.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-02-25 19:11:32 -0300
committerHugo Lima <hugo.lima@openbossa.org>2010-02-26 14:28:12 -0300
commite8483c6c8f28a8fda67443cdc4480ff4252c288d (patch)
tree5cc3aabfa46e68fdb5b038093e5e6d2fe2b2a1d5 /headergenerator.cpp
parent29364cfe33c86f9a0cd884e99e0f63d44785abae (diff)
Fix bug #142 by eliminating the CppCopier::copy function and adding it to a field in SbkBaseWrapper_Type.
Diffstat (limited to 'headergenerator.cpp')
-rw-r--r--headergenerator.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/headergenerator.cpp b/headergenerator.cpp
index 4c5971967..2d5bbf52e 100644
--- a/headergenerator.cpp
+++ b/headergenerator.cpp
@@ -1,7 +1,7 @@
/*
* This file is part of the Shiboken Python Bindings Generator project.
*
- * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+ * Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
*
* Contact: PySide team <contact@pyside.org>
*
@@ -438,10 +438,9 @@ void HeaderGenerator::writeSbkCopyCppObjectFunction(QTextStream& s, const Abstra
return;
QString className = metaClass->qualifiedCppName();
s << "template <>" << endl;
- s << "struct CppObjectCopier<" << className << " >" << endl;
+ s << "struct SbkTypeInfo<" << className << " >" << endl;
s << '{' << endl;
s << INDENT << "static const bool isCppWrapper = true;" << endl;
- s << INDENT << "static " << className << "* copy(const " << className << "& cppobj);" << endl;
s << "};" << endl;
}