From e8483c6c8f28a8fda67443cdc4480ff4252c288d Mon Sep 17 00:00:00 2001 From: Hugo Lima Date: Thu, 25 Feb 2010 19:11:32 -0300 Subject: Fix bug #142 by eliminating the CppCopier::copy function and adding it to a field in SbkBaseWrapper_Type. --- cppgenerator.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cppgenerator.h') 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 * @@ -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. -- cgit v1.2.3