diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-11 11:47:27 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-12 16:35:26 -0200 |
commit | fa5740279daa22be3c424c8fab4468447b3cbcaf (patch) | |
tree | f59ac198c2a0a2883ba01805bf9fae55d18e0d59 | |
parent | d23df801cb5e7edf57a1d8613a187619d5eb989e (diff) |
Do not declare and export *_New functions on global header.
-rw-r--r-- | headergenerator.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/headergenerator.cpp b/headergenerator.cpp index ad22353d1..f5765ed2c 100644 --- a/headergenerator.cpp +++ b/headergenerator.cpp @@ -252,8 +252,6 @@ void HeaderGenerator::finishGeneration() 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; writeTypeCheckMacro(s_pts, innerClass->typeEntry()); s_pts << "#define " << cpythonWrapperCPtr(innerClass, "pyobj") << " (("; s_pts << innerClass->qualifiedCppName() << "*)SbkBaseWrapper_cptr(pyobj))" << endl << endl; @@ -262,8 +260,6 @@ void HeaderGenerator::finishGeneration() writeSbkTypeFunction(typeFunctions, innerClass); } } - s_pts << getApiExportMacro() << " PyAPI_FUNC(PyObject*) " << cpythonBaseName(metaClass->typeEntry()); - s_pts << "_New(Shiboken::SbkBaseWrapperType* type, PyObject* args, PyObject* kwds);" << endl; writeTypeCheckMacro(s_pts, classType); s_pts << "#define " << cpythonWrapperCPtr(metaClass, "pyobj") << " (("; s_pts << metaClass->qualifiedCppName() << "*)SbkBaseWrapper_cptr(pyobj))" << endl << endl; |