commit | fc2f0204ba735ea9374933ff947d48fbec0b2deb | [log] [tgz] |
---|---|---|
author | William S Fulton <wsf@fultondesigns.co.uk> | Thu Feb 13 19:09:27 2020 +0000 |
committer | William S Fulton <wsf@fultondesigns.co.uk> | Thu Feb 13 19:21:30 2020 +0000 |
tree | de747e2802adb24b7eb706f26c82cb75a0eaee44 | |
parent | 339d42791009c970f1493b310ce0e9215526a44c [diff] |
Port Ruby test of vector<shared_ptr<>> to Python This test code tests the upcast code: swig_assert_equal_simple(-1, base_num2([Derived(7)])) Although there is no explicit memory leak fix test, it does at least run the code. Handling of None needs fixing in Python (it is working in Ruby) Note that the Ruby implementation has a partial template specialization for shared_ptr, whereas the Python implementation is in the generic code! Issue #1512