Commit graph

14 commits

Author SHA1 Message Date
Tobias Lau
26293546a6 Added LocalRefGuard for wstrings 2016-10-20 13:37:28 +02:00
William S Fulton
4308dd03cf SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 23:26:02 +00:00
William S Fulton
23f8a0464c throws typemaps for std::wstring using C# patch #1799064 from David Piepgrass
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9956 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-25 21:35:24 +00:00
Olly Betts
cebe664854 Use push_back(wchar_t) instead of append(wchar_t) since append() is
non-standard (SF#1799992).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-23 21:40:29 +00:00
Olly Betts
532518c38a [Java] Eliminate some unnecessary uses of a temporary buffer
allocated using new[].  SF#1796609.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-20 01:04:35 +00:00
William S Fulton
0798630f72 fix director typemaps for wstring&
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:47:17 +00:00
Olly Betts
c836c81acb When wrapping C++ code, generate code which uses
std::string::assign(PTR, LEN) rather than assigning
std::string(PTR, LEN).  Using assign generates more efficient code
(tested with GCC 4.1.2).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-17 20:10:57 +00:00
William S Fulton
24af2d1b11 consistent directout typemaps for all languages - $result used instead of $1 in C# and Java now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:54:14 +00:00
William S Fulton
33d2e15423 fix const wstring& typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 15:34:27 +00:00
William S Fulton
d4236464e6 Bug 1446319 - variable of same name emitted more than once when more than wstring parameter in director methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 21:47:58 +00:00
William S Fulton
49be05f4fd Common template for head of each file detailing licence, distribution and authors information
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:14:10 +00:00
William S Fulton
7d07987098 std::wstring global and member variables are wrapped as strings by default
No need to use the %apply const std::wstring& { std::wstring* } trick anymore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:32:07 +00:00
Marcelo Matus
89e7497ac6 add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00
William S Fulton
e00fede3f9 wstring typemaps moved from std_string.i std_wstring.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-21 20:27:51 +00:00