diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-09-16 08:36:25 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-09-16 08:36:25 +0100 |
commit | dad7c93ca0a923e7d2671347cee711d180dd0338 (patch) | |
tree | e4f527a56b5a1e044213ebe1f07200cedcde8153 /Lib/python | |
parent | de65875955b236ee2644014e41bdeb1d574acc93 (diff) | |
download | swig-dad7c93ca0a923e7d2671347cee711d180dd0338.tar.gz |
Provide SWIGTYPE MOVE typemaps in swigmove.i
For implementing full move semantics when passing parameters by value.
Based on SWIGTYPE && and std::unique_ptr typemaps which implement move
semantics.
Added for all languages, but untested for: Go, Ocaml, R, Scilab (and
unlikely to be fully functional for same reasons as for std::unique_ptr
support).
Issue #999
Diffstat (limited to 'Lib/python')
-rw-r--r-- | Lib/python/swigmove.i | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/python/swigmove.i b/Lib/python/swigmove.i new file mode 100644 index 000000000..62ecca768 --- /dev/null +++ b/Lib/python/swigmove.i @@ -0,0 +1 @@ +%include <typemaps/swigmove.swg> |