swig/Source/Swig
William S Fulton e777b054d5 Performance optimisation for parameters passed by value that are C++11 movable.
The C++ wrappers create a temporary variable for a parameter to be passed to a
function. This is initially default constructed and then copy assigned from the
instance being passed in from the target language. This is unchanged, however,
when the temporary variable is passed to wrapped function, it is now done using
std::move. If the type is move constructible, the move constructor will be used
instead of the copy constructor.

Note that the implementation calls std::move for all user-defined types
(non-primitive types passed by value), this excludes anything passed by pointer,
reference and arrays. It does also include any type that has not been
defined/parsed by SWIG, that is, unknown types. std::move is called via the
SWIG_STD_MOVE macro which only calls std::move for C++11 and later code.
2022-07-08 17:41:15 +01:00
..
cwrap.c Performance optimisation for parameters passed by value that are C++11 movable. 2022-07-08 17:41:15 +01:00
deprecate.c Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
error.c Fail cleanly on allocation failures 2022-03-04 11:47:49 +13:00
extend.c new_node refactor 2018-05-19 09:00:06 +01:00
fragment.c Fix comment typo 2021-05-05 16:01:51 +12:00
getopt.c Add DOH Exit() and SetExitHandler() 2022-03-06 12:33:54 +13:00
include.c Resolve -Wstrict-prototypes warnings with clang-15 2022-06-30 12:52:00 +12:00
misc.c Resolve -Wstrict-prototypes warnings with clang-15 2022-06-30 12:52:00 +12:00
naming.c Resolve -Wstrict-prototypes warnings with clang-15 2022-06-30 12:52:00 +12:00
parms.c Resolve -Wstrict-prototypes warnings with clang-15 2022-06-30 12:52:00 +12:00
scanner.c Add DOH Exit() and SetExitHandler() 2022-03-06 12:33:54 +13:00
stype.c template template parameters patch tidyup 2021-03-22 01:08:05 +00:00
swig.h Add DOH Exit() and SetExitHandler() 2022-03-06 12:33:54 +13:00
swigfile.h Resolve -Wstrict-prototypes warnings with clang-15 2022-06-30 12:52:00 +12:00
swigopt.h merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
swigparm.h Fix Python compile errors with overloading and varargs 2019-02-25 19:27:23 +00:00
swigscan.h Handle ellipsis as a token in the scanner 2022-01-26 12:31:52 +13:00
swigtree.h Improvements to the -debug command line options 2022-03-25 23:34:52 +00:00
swigwrap.h merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes 2010-03-06 00:51:54 +00:00
symbol.c Fix warning suppression for WARN_PARSE_USING_UNDEF 2022-02-20 16:45:10 +00:00
tree.c Fixes for ISO C89 2022-03-28 19:25:11 +01:00
typemap.c Resolve -Wstrict-prototypes warnings with clang-15 2022-06-30 12:52:00 +12:00
typeobj.c Fix previous commit 2022-03-20 19:44:23 +13:00
typesys.c Resolve -Wstrict-prototypes warnings with clang-15 2022-06-30 12:52:00 +12:00
wrapfunc.c Fail cleanly on allocation failures 2022-03-04 11:47:49 +13:00