improved shared pointer support (fixes #14)
diff --git a/example/example8.py b/example/example8.py
index e918a77..339e008 100755
--- a/example/example8.py
+++ b/example/example8.py
@@ -8,6 +8,8 @@
from example import make_object_2
from example import make_myobject_4
from example import make_myobject_5
+from example import make_myobject2_1
+from example import make_myobject2_2
from example import print_object_1
from example import print_object_2
from example import print_object_3
@@ -16,6 +18,10 @@
from example import print_myobject_2
from example import print_myobject_3
from example import print_myobject_4
+from example import print_myobject2_1
+from example import print_myobject2_2
+from example import print_myobject2_3
+from example import print_myobject2_4
for o in [make_object_1(), make_object_2(), MyObject(3)]:
print("Reference count = %i" % o.getRefCount())
@@ -35,3 +41,11 @@
print_myobject_2(o)
print_myobject_3(o)
print_myobject_4(o)
+
+
+for o in [make_myobject2_1(), make_myobject2_2()]:
+ print(o)
+ print_myobject2_1(o)
+ print_myobject2_2(o)
+ print_myobject2_3(o)
+ print_myobject2_4(o)