diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2022-09-08 19:50:31 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2022-09-08 19:50:31 +0100 |
commit | c79f7f3d852a051392862f5e960e2614ee58a814 (patch) | |
tree | 3e1edf06725448e7dd7d2968479f4d122f59e0a7 /Lib/swig.swg | |
parent | 7ff686c5c153e8c37a312534280ed09dcbf030ec (diff) | |
parent | 2212af3f4f0906d84ef3aecf4812622af5f3ec7e (diff) | |
download | swig-c79f7f3d852a051392862f5e960e2614ee58a814.tar.gz |
Merge branch 'rvalue-move'
* rvalue-move:
rvalue reference outputs
Remove broken %implicitconv for const SWIGTYPE &&
Remove unnecessary const SWIGTYPE & typemap
Temporarily remove rvalue reference python runtime test
std::auto_ptr emulation fix in test case
Ocaml typemap typo fix
Fix Racket tests using schemerunme directory
Docs on rvalue parameter changes
Test/fixes to handle NULL pointer for unique_ptr/auto_ptr
Octave - SWIG now marshalls a C/C++ NULL pointer into the null matrix, []
Racket - NULL pointer handling
SWIGTYPE && input typemaps now assume object has been moved - Go and OCaml
SWIGTYPE && input typemaps now assume object has been moved
SWIGTYPE && input typemaps now assume object has been moved - Java
Cosmetic stray semi-colon removal after %typemap using quotes
Cosmetic stray semi-colon removal after %typemap
Diffstat (limited to 'Lib/swig.swg')
-rw-r--r-- | Lib/swig.swg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/swig.swg b/Lib/swig.swg index c9b301426..9148c9153 100644 --- a/Lib/swig.swg +++ b/Lib/swig.swg @@ -448,9 +448,9 @@ namespace std { /* Set up the typemap for handling new return strings */ #ifdef __cplusplus -%typemap(newfree) char * "delete [] $1;"; +%typemap(newfree) char * "delete [] $1;" #else -%typemap(newfree) char * "free($1);"; +%typemap(newfree) char * "free($1);" #endif /* Default typemap for handling char * members */ |