aboutsummaryrefslogtreecommitdiff
path: root/tests/GenerateSipBindings/cpplib.cpp
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2017-01-18 22:02:15 +0000
committerStephen Kelly <steveire@gmail.com>2017-01-18 22:20:07 +0000
commit22a487a08743e78944b161c33c004b9bcbb0dc34 (patch)
tree2dd9a42e0ab417c20921787b5e4b83d7a0a8fed2 /tests/GenerateSipBindings/cpplib.cpp
parenta5f3a76e14799c68b5e8f74e375baa5f6f6ab4dc (diff)
downloadextra-cmake-modules-22a487a08743e78944b161c33c004b9bcbb0dc34.tar.gz
extra-cmake-modules-22a487a08743e78944b161c33c004b9bcbb0dc34.tar.bz2
Bindings: Add explicit handling of nullptr as a parameter default
Don't prepend a namespace to it as we do otherwise with enum/flags.
Diffstat (limited to 'tests/GenerateSipBindings/cpplib.cpp')
-rw-r--r--tests/GenerateSipBindings/cpplib.cpp5
1 files changed, 5 insertions, 0 deletions
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<int>& l)
return std::accumulate(l.begin(), l.end(), 0);
}
+void MyObject::enumNullptr(Qt::WindowFlags f)
+{
+
+}
+
LocalFwdDecl::LocalFwdDecl(int value)
: m_value(value)
{