diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/reference.cpp')
| -rw-r--r-- | sources/shiboken6/tests/libsample/reference.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsample/reference.cpp b/sources/shiboken6/tests/libsample/reference.cpp index d3c1f882c..25db84bfd 100644 --- a/sources/shiboken6/tests/libsample/reference.cpp +++ b/sources/shiboken6/tests/libsample/reference.cpp @@ -12,6 +12,11 @@ Reference::show() const cout << "Reference.objId: " << m_objId << ", address: " << this; } +Reference &Reference::returnMySecondArg(int, Reference &ref) +{ + return ref; +} + int Reference::usesReferenceVirtual(Reference& r, int inc) { @@ -51,3 +56,8 @@ Reference::callAlterReferenceIdVirtual(Reference& r) ObjTypeReference::~ObjTypeReference() { } + +ObjTypeReference &ObjTypeReference::returnMySecondArg(int, ObjTypeReference &ref) +{ + return ref; +} |
