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.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/GenerateSipBindings/cpplib.h') diff --git a/tests/GenerateSipBindings/cpplib.h b/tests/GenerateSipBindings/cpplib.h index dd797a9c..c54b6b7a 100644 --- a/tests/GenerateSipBindings/cpplib.h +++ b/tests/GenerateSipBindings/cpplib.h @@ -51,6 +51,8 @@ public: int functionParam(std::function fn); int groups(unsigned int maxCount = std::numeric_limits::max()) const; + void enumNullptr(Qt::WindowFlags f = nullptr); + int const_parameters(const int input, QObject* const obj = 0) const; int externalFwdDecl(const ExternalFwdDecl& f); -- cgit v1.2.1