aboutsummaryrefslogtreecommitdiffstats
path: root/shibokengenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shibokengenerator.cpp')
-rw-r--r--shibokengenerator.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/shibokengenerator.cpp b/shibokengenerator.cpp
index 2094749fc..ba3d03e35 100644
--- a/shibokengenerator.cpp
+++ b/shibokengenerator.cpp
@@ -1149,6 +1149,13 @@ QString ShibokenGenerator::getApiExportMacro() const
return "SHIBOKEN_"+moduleName().toUpper()+"_API"; // a longer name to avoid name clashes
}
+QString ShibokenGenerator::getModuleHeaderFileName(QString modName) const
+{
+ if (modName.isEmpty())
+ modName = moduleName();
+ return QString("%1_python.h").arg(modName.toLower());
+}
+
/*
static void dumpFunction(AbstractMetaFunctionList lst)
{