aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/libsample/voidholder.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/libsample/voidholder.h')
-rw-r--r--sources/shiboken2/tests/libsample/voidholder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/libsample/voidholder.h b/sources/shiboken2/tests/libsample/voidholder.h
index 228bbae3f..6453ce2e7 100644
--- a/sources/shiboken2/tests/libsample/voidholder.h
+++ b/sources/shiboken2/tests/libsample/voidholder.h
@@ -42,6 +42,10 @@ public:
static void* pointerToSomething = new VoidHolder();
return pointerToSomething;
}
+ void *takeVoidPointer(void *item)
+ {
+ return item;
+ }
private:
void* m_ptr;
};