enable passing C++ instances to void*-valued arguments
diff --git a/example/example14.py b/example/example14.py
index 1bbe86d..c653e0c 100644
--- a/example/example14.py
+++ b/example/example14.py
@@ -33,7 +33,12 @@
#####
print_void_ptr(return_void_ptr())
-print_void_ptr(Example1()) # Should also work for other C++ types
+print_void_ptr(Example1()) # Should also work for other C++ types
+
+try:
+ print_void_ptr([1, 2, 3]) # This should not work
+except Exception as e:
+ print("Caught expected exception: " + str(e))
print(return_null_str())
print_null_str(return_null_str())