diff options
Diffstat (limited to 'sources/shiboken6/tests/libsample/handle.cpp')
-rw-r--r-- | sources/shiboken6/tests/libsample/handle.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/shiboken6/tests/libsample/handle.cpp b/sources/shiboken6/tests/libsample/handle.cpp index e92c24c89..93c2abe47 100644 --- a/sources/shiboken6/tests/libsample/handle.cpp +++ b/sources/shiboken6/tests/libsample/handle.cpp @@ -3,17 +3,17 @@ #include "handle.h" -HANDLE HandleHolder::createHandle() +SAMPLE_HANDLE HandleHolder::createHandle() { - return (HANDLE) new OBJ; + return (SAMPLE_HANDLE) new OBJ; } -bool HandleHolder::compare(HandleHolder* other) +bool HandleHolder::compare(HandleHolder *other) { return other->m_handle == m_handle; } -bool HandleHolder::compare2(HandleHolder* other) +bool HandleHolder::compare2(HandleHolder *other) { return other->m_handle2 == m_handle2; } |