aboutsummaryrefslogtreecommitdiff
path: root/tests/GenerateSipBindings
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2017-01-14 21:43:43 +0000
committerStephen Kelly <steveire@gmail.com>2017-01-15 11:18:33 +0000
commit3c31028dad2f9c53bea6630fd0da127a6da0d610 (patch)
tree465805826e14091e010163db40be8536f689acd9 /tests/GenerateSipBindings
parent006f45016664cf3d242c92a3ca88c785681b296d (diff)
downloadextra-cmake-modules-3c31028dad2f9c53bea6630fd0da127a6da0d610.tar.gz
extra-cmake-modules-3c31028dad2f9c53bea6630fd0da127a6da0d610.tar.bz2
Bindings: Add missing test function implementation
Diffstat (limited to 'tests/GenerateSipBindings')
-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 f996c998..744914a0 100644
--- a/tests/GenerateSipBindings/cpplib.cpp
+++ b/tests/GenerateSipBindings/cpplib.cpp
@@ -75,6 +75,11 @@ int MyObject::fwdDecl(const FwdDecl&)
return 42;
}
+int MyObject::fwdDeclRef(FwdDecl&)
+{
+ return 42;
+}
+
int MyObject::const_parameters(const int input, QObject* const obj) const
{
if (obj) return input / 3;