William S Fulton
964382336e
remove std::map specializations - not needed since the typemap matching rules were changed to follow type deducation used in template specialization
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-04 20:37:20 +00:00
William S Fulton
bdb136d611
Change typemap matching rules for the default type (SWIGTYPE) to follow template partial specialization type deduction. Fixes some containers of const pointers. SWIGTYPE*& typemps removed and replaced with SWIGTYPE *const&.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-01 18:26:37 +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
3932d02a2a
fix SWIG naming convention
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-21 00:25:11 +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
Olly Betts
7f5586a370
[Tcl] To complement USE_TCL_STUBS, add support for USE_TK_STUBS
...
and SWIG_TCL_STUBS_VERSION. Document all three in the Tcl chapter
of the manual. Based on patch from SF#2810380 by Christian
Gollwitzer.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-03 14:17:03 +00:00
William S Fulton
a91e4906b5
Add newmemory parameter for SWIG_TypeCast
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-10 00:35:11 +00:00
William S Fulton
5bbdad6a30
fix comments about fragments - noticed by Josh Cherry
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-20 21:45: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
William S Fulton
9c65c6b044
Remove cvs $Header$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:43:55 +00:00
Olly Betts
10c6e1064d
[Tcl] Fix several ocurrences of "warning: deprecated conversion
...
from string constant to 'char*'" from GCC 4.2 in generated C/C++
code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 22:12:44 +00:00
Olly Betts
6fdeeafb88
[Tcl] Prevent SWIG_Tcl_ConvertPtr from calling the unknown proc.
...
Add Examples/tcl/std_vector/ which this change fixes. Patch
is from "Cliff C" in SF#1809819.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-15 02:02:47 +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
ed3938e36f
fix long long handling - mainly patch 1771313. Attempt to define ISO limits that should be in limits.h if gcc has not defined them. This might need refining further.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-24 21:42:05 +00:00
Olly Betts
fdd51d4080
Fix Tcl typemaps to handle unsigned long > LONG_MAX and unsigned long long
...
> LONG_LONG_MAX when converting values from Tcl to C/C++. Fixes bug
#1533266 .
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-24 21:55:30 +00:00
Marcelo Matus
52cfa52b83
fix docs, path provided by Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:40:20 +00:00
Marcelo Matus
f854385d57
fix prototype warnings, as reported by Max Browsher
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-26 07:24:41 +00:00
Marcelo Matus
6a69ec8227
fix type cast
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-26 07:04:06 +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
44264e5544
add the factory library for UTL
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 18:42:20 +00:00
Marcelo Matus
50c10593e6
fix seterrormsg as reported by Colin McDonald
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 17:42:54 +00:00
Marcelo Matus
f641130612
fix premature object deletion reported by Paul in tcl3d
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-18 01:19:50 +00:00
William S Fulton
892e0202a6
Fix Sun workshop char* problems
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 23:20:19 +00:00
Marcelo Matus
18d7ad613b
comments, clean and cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 02:20:17 +00:00
Marcelo Matus
b492220f41
add back. comp. names, reported by paul@posft.de
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 21:53:06 +00:00
Marcelo Matus
0f7b502a3b
fix -external-runtime and warning arounds in subversion
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Marcelo Matus
19ce5762f0
reenable missing INPUT/OUTPUT, and add tests for std::string
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:55:43 +00:00
Marcelo Matus
549abbb959
backward compatible definition of SWIG_excetion, we now just try to use the safer SWIG_exception_fail when needed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 17:37:03 +00:00
Marcelo Matus
7dc39f200c
fix exception, use SWIG_fail
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 05:03:48 +00:00
Marcelo Matus
740ca6c1da
fix error reported by William K. Foster about bad strings generating seg faults
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:32:37 +00:00
Marcelo Matus
0ee6a0446a
more fixes to MSC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 07:00:32 +00:00
Marcelo Matus
11f69b8165
fixes for VC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:48:55 +00:00
Marcelo Matus
5d4d9d2622
add macro for backward comp.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 21:43:55 +00:00
Marcelo Matus
507a8184cc
use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:36 +00:00
William S Fulton
2387c32254
Each target language now has its own std_deque.i like the other STL wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 20:08:44 +00:00
Marcelo Matus
6e95b6433b
add macros/names to avoid numeric warning codes. use them in tcl,perl,ruby and python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 06:59:32 +00:00
Marcelo Matus
69c14f087e
add initial stl.i to ensure proper file inclussion and extensions for each language
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:37:31 +00:00
Marcelo Matus
e222e63bc2
add stl.i files for each language to prevent improper includes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:27:12 +00:00
Marcelo Matus
d5cb3bbcb9
uniform cni examples
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:48:06 +00:00
Marcelo Matus
3dc42480eb
add missing operator warns
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-31 10:44:33 +00:00
Marcelo Matus
b4e4fe23ca
add tcl+java example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-30 11:59:54 +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
Marcelo Matus
e75bc08f7e
fix unsigned cases
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:47:18 +00:00
Marcelo Matus
32cbb57ab6
keep old typemap code in place, but disable, for readers to look around, and rescue other lost typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-13 23:46:37 +00:00
Marcelo Matus
efcc7aeacf
fixes for the examples and tcl to use the old Tcl_SetResult()... methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-09 22:39:43 +00:00
Marcelo Matus
6d57482864
add SWIGUNUSEDPARM
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-02 08:42:41 +00:00
William S Fulton
cfdad24993
Use the system angle brackets for %include
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:28:20 +00:00
Marcelo Matus
cb4a1ff465
more speed ups
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-24 00:54:46 +00:00
Marcelo Matus
23c9555292
simplify the ASPTR_ARGS and ASVAL_ARGS macros to one AS_ARG
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-04 10:57:16 +00:00
Marcelo Matus
71df9fc8b6
add std_except typemaps to the unified typemap library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 09:43:02 +00:00