From 22a487a08743e78944b161c33c004b9bcbb0dc34 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 18 Jan 2017 22:02:15 +0000 Subject: Bindings: Add explicit handling of nullptr as a parameter default Don't prepend a namespace to it as we do otherwise with enum/flags. --- tests/GenerateSipBindings/cpplib.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/GenerateSipBindings/cpplib.cpp') diff --git a/tests/GenerateSipBindings/cpplib.cpp b/tests/GenerateSipBindings/cpplib.cpp index 524a0936..e7cb1d17 100644 --- a/tests/GenerateSipBindings/cpplib.cpp +++ b/tests/GenerateSipBindings/cpplib.cpp @@ -100,6 +100,11 @@ int MyObject::localListDecl(const QList& l) return std::accumulate(l.begin(), l.end(), 0); } +void MyObject::enumNullptr(Qt::WindowFlags f) +{ + +} + LocalFwdDecl::LocalFwdDecl(int value) : m_value(value) { -- cgit v1.2.1