diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-25 19:11:32 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-26 14:28:12 -0300 |
commit | e8483c6c8f28a8fda67443cdc4480ff4252c288d (patch) | |
tree | 5cc3aabfa46e68fdb5b038093e5e6d2fe2b2a1d5 /cppgenerator.h | |
parent | 29364cfe33c86f9a0cd884e99e0f63d44785abae (diff) |
Fix bug #142 by eliminating the CppCopier::copy function and adding it to a field in SbkBaseWrapper_Type.
Diffstat (limited to 'cppgenerator.h')
-rw-r--r-- | cppgenerator.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cppgenerator.h b/cppgenerator.h index 046d0c33a..2230d6ba2 100644 --- a/cppgenerator.h +++ b/cppgenerator.h @@ -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> * @@ -70,8 +70,6 @@ private: void writeTypeNameFunction(QTextStream& s, const AbstractMetaClass* metaClass); - void writeSbkCopyCppObjectFunction(QTextStream& s, const AbstractMetaClass* metaClass); - void writeGetattroFunction(QTextStream& s, const AbstractMetaClass* metaClass); /** @@ -170,6 +168,7 @@ private: /// Returns true if generator should produce getters and setters for the given class. bool shouldGenerateGetSetList(const AbstractMetaClass* metaClass); void writeHashFunction(QTextStream& s, const AbstractMetaClass* metaClass); + void writeObjCopierFunction(QTextStream& s, const AbstractMetaClass* metaClass); // Maps special function names to function parameters and return types // used by CPython API in the sequence protocol. |