aboutsummaryrefslogtreecommitdiffstats
path: root/generator/shiboken2/shibokengenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'generator/shiboken2/shibokengenerator.h')
-rw-r--r--generator/shiboken2/shibokengenerator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/shiboken2/shibokengenerator.h b/generator/shiboken2/shibokengenerator.h
index 2a75a21..837e7d6 100644
--- a/generator/shiboken2/shibokengenerator.h
+++ b/generator/shiboken2/shibokengenerator.h
@@ -43,8 +43,6 @@
#define THREAD_STATE_SAVER_VAR "threadStateSaver"
#define BEGIN_ALLOW_THREADS "PyThreadState* _save = PyEval_SaveThread(); // Py_BEGIN_ALLOW_THREADS"
#define END_ALLOW_THREADS "PyEval_RestoreThread(_save); // Py_END_ALLOW_THREADS"
-#define MIN_CTOR_ERROR_MSG "Could not find a minimal constructor for type '%1'. "\
- "This will result in a compilation error."
#define PYTHON_TO_CPP_VAR "pythonToCpp"
#define SMART_POINTER_GETTER "kSmartPointerGetter"
@@ -535,6 +533,8 @@ protected:
};
void replaceConverterTypeSystemVariable(TypeSystemConverterVariable converterVariable, QString& code);
+ static QString msgCouldNotFindMinimalConstructor(const QString &where, const QString &type);
+
private:
bool m_useCtorHeuristic;
bool m_userReturnValueHeuristic;