summaryrefslogtreecommitdiff
path: root/Lib/swig.swg
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2022-09-08 19:50:31 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2022-09-08 19:50:31 +0100
commitc79f7f3d852a051392862f5e960e2614ee58a814 (patch)
tree3e1edf06725448e7dd7d2968479f4d122f59e0a7 /Lib/swig.swg
parent7ff686c5c153e8c37a312534280ed09dcbf030ec (diff)
parent2212af3f4f0906d84ef3aecf4812622af5f3ec7e (diff)
downloadswig-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.swg4
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 */