William S Fulton
e1173cac26
Tcl std_vector.i functions not static
...
Closes #2305
2022-07-05 10:53:08 +01:00
Olly Betts
713438e879
Fix GCC -Wunused warning in generated Tcl wrappers
2022-03-04 12:00:36 +13:00
Olly Betts
b415f566a0
[Tcl] std_vector.i: Remove unneeded \ line joins
2022-02-10 09:56:42 +13:00
Olly Betts
bb15c4eccf
[Tcl] Fix Tcl generic input typemap for std::vector
...
Fixes https://sourceforge.net/p/swig/bugs/1207/
Fixes https://sourceforge.net/p/swig/bugs/1213/
2022-02-10 09:55:58 +13:00
Olly Betts
6f4adde4b4
[Tcl] Fix std_vector typecheck typemaps
...
In some cases the typecheck typemap would try to access the first
element of an empty Tcl list.
Fixes https://sourceforge.net/p/swig/bugs/1309/
2022-02-01 13:09:00 +13:00
William S Fulton
6d27ead9c0
Add STL container copy constructors where missing
...
Also provide consistent copy constructor declarations.
2019-02-14 18:53:05 +00:00
William S Fulton
e26f6bb4e2
Add missing typedefs to std::vector + typedef corrections
...
Tests for std::vector of pointers added which check
std::vector<T*>::const_reference and std::vector<T*>::reference
usage which gave compilation errors in Python and Perl which had
specialized these vectors incorrectly.
2019-02-13 22:46:28 +00:00
William S Fulton
6d0c495fd0
Add missing parameter names in STL container wrappers
...
Mostly in STL copy constructors.
Best to have parameter names as they make their way into the wrappers in
some target languages.
2019-02-13 22:45:47 +00:00
William S Fulton
0d9a8721f4
Move some header file includes into fragments for UTL languages
2014-02-21 19:02:14 +00:00
William S Fulton
bd5c340062
Add <string> fragment
...
Removes <string> include specifically for clang
Cuts down on duplicate #include <string> in general
2014-02-15 23:30:14 +00: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
22c0b83cef
fix vector of templated types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-05 22:17:06 +00:00
William S Fulton
1ecf5885a2
VC++ error/warning fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-23 21:57:19 +00:00
Olly Betts
b1b889059d
Another place which can use std::string::assign() which I failed to check in
...
with the others. Also use std::string::data() instead of std::string::c_str()
where we don't need the trailing '\0'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 01:40:52 +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
Marcelo Matus
636e8c4775
fix char/bool types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 21:08:04 +00:00
William S Fulton
03a67698a9
use exception specification instead of %exception to handle STL error checking
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:09:42 +00:00
Marcelo Matus
765013d984
fix unsigned char case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-13 16:43:34 +00:00
Luigi Ballabio
c25bb79fdb
Fixed bug [948521]
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 13:12:20 +00:00
Luigi Ballabio
2e74736b7f
Fixed bug [948583]
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-17 13:07:39 +00:00
Luigi Ballabio
42368516f9
Fix for std::vector Tcl typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-21 14:12:40 +00:00
Luigi Ballabio
5e161fa7cd
Char and unsigned-char specialization added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
Matthias Köppe
06e5b9aa3a
Use the preprocessor to rename external functions of the SWIG runtime
...
API to follow the naming convention SWIG_<language>_<function>. This
should allow linking more than one interpreter into a program.
Unify the pointer-conversion runtime API.
[Tcl]: Remove the "interp" argument of SWIG_NewInstanceObj,
SWIG_ConvertPtr, SWIG_ConvertPacked, and SWIG_ConvertPtrFromString.
The function SWIG_MustGetPtr is currently not supported.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-02 15:24:53 +00:00
Dave Beazley
c4cc62ed46
Removed some unused variable warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 16:33:16 +00:00
Dave Beazley
8d3b7440f7
Fixed [ 689040 ] Missing return value in std_vector.i
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-18 21:40:12 +00:00
Luigi Ballabio
f3a792782b
Fixed constructors and default arguments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-12 16:08:26 +00:00
Dave Beazley
12a43edc2d
The great merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00