aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsmart/stdsharedptrtestbench.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2022-04-12 11:06:50 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2022-04-13 17:17:14 +0200
commit02a1213bfe18d4ce86370898816fbc470c40a66b (patch)
tree648eaf0994d4868062eec819125d6b4eee0e04f0 /sources/shiboken6/tests/libsmart/stdsharedptrtestbench.h
parent8488a8e80644e37f99dcffe4dba8833ddc068f4e (diff)
shiboken6: Add a test for a shared pointer with a primitive type
Task-number: PYSIDE-454 Change-Id: Ic416988e58e2207ada97768af8e75f621e2e944c Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken6/tests/libsmart/stdsharedptrtestbench.h')
-rw-r--r--sources/shiboken6/tests/libsmart/stdsharedptrtestbench.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/libsmart/stdsharedptrtestbench.h b/sources/shiboken6/tests/libsmart/stdsharedptrtestbench.h
index 0cf5d78a4..0397013e1 100644
--- a/sources/shiboken6/tests/libsmart/stdsharedptrtestbench.h
+++ b/sources/shiboken6/tests/libsmart/stdsharedptrtestbench.h
@@ -44,6 +44,10 @@ public:
static std::shared_ptr<Integer> createInteger(int v = 42);
static std::shared_ptr<Integer> createNullInteger();
static void printInteger(const std::shared_ptr<Integer> &);
+
+ static std::shared_ptr<int> createInt(int v = 42);
+ static std::shared_ptr<int> createNullInt();
+ static void printInt(const std::shared_ptr<int> &);
};
#endif // STDSHAREDPTRTESTBENCH_H