aboutsummaryrefslogtreecommitdiffstats
path: root/headergenerator.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-01-25 17:05:56 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-01-26 22:15:52 -0200
commitf691800c52b9047cf02f6787a546e5a112f7c962 (patch)
tree28a473b703960cbbd82f9f44865a7e1d51140e25 /headergenerator.cpp
parentbedeefb654bf3a884cbf8c3855c212e37efb299a (diff)
Write CopyCppObject function for inner classes.
Diffstat (limited to 'headergenerator.cpp')
-rw-r--r--headergenerator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/headergenerator.cpp b/headergenerator.cpp
index 363bfc660..afd3e44dc 100644
--- a/headergenerator.cpp
+++ b/headergenerator.cpp
@@ -236,6 +236,7 @@ void HeaderGenerator::finishGeneration()
foreach (AbstractMetaClass* innerClass, metaClass->innerClasses()) {
if (shouldGenerate(innerClass)) {
+ writeSbkCopyCppObjectFunction(typeFunctions, innerClass);
s_cin << innerClass->typeEntry()->include().toString() << endl;
s_pts << getApiExportMacro() << " PyAPI_FUNC(PyObject*) " << cpythonBaseName(innerClass->typeEntry());
s_pts << "_New(Shiboken::SbkBaseWrapperType* type, PyObject* args, PyObject* kwds);" << endl;