William S Fulton
c10a84c775
Cosmetic stray semi-colon removal after %typemap using quotes
2022-08-31 19:40:13 +01: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
9dd33e6367
Add missing typedefs to std::map
2019-02-13 22:46:27 +00:00
William S Fulton
32e7074d9b
Whitespace fixes in STL wrappers
2017-06-03 18:36:59 +01:00
William S Fulton
fdca8e9829
Better variable naming consistency in STL containers
2017-05-26 22:37:29 +01:00
William S Fulton
449aa08124
%extend changes and remove default use of javatype, dtype, cstype %typemaps
...
1) The %extend directive can now optionally support one of the 'class', 'struct' or 'union'.
2) The SWIG library no longer uses the javatype, dtype or cstype typemaps, thereby
completely freeing them up for users to use without having to replicate the library
code that they previously added
Tested by changes to test: java_lib_arrays
2017-01-15 16:50:24 +00:00
Brant K. Kyser
adb93980f2
Remove using directives from the generated C# code and fully qualify the use of all .NET framework types in order to minimize potential name collisions from input files defining types, namespace, etc with the same name as .NET framework members.
2013-10-17 15:44:24 -05:00
Brant K. Kyser
cb2df12630
Since SWIG 3.0 removes support for .NET 1.1, cleanup the C# library by removing the use of the SWIG_DOTNET_1 macro.
2013-10-17 13:58:32 -05:00
Brant K. Kyser
3235570619
Globablly qualify the use of types from the .NET framework's System namespace in the C# module and library.
2013-10-17 13:27:48 -05:00
Vadim Zeitlin
9efaf954c7
Add support for std::map<> comparator template argument for C#.
...
Allow exporting maps using non-default comparison function.
Closes #77
2013-08-29 19:08:15 +01:00
William S Fulton
142f1e72bb
Fix some language's std::map wrappers to recognise difference_type, size_type, key_type and mapped_type.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-15 19:51:06 +00:00
William S Fulton
5f1c242f1a
Apply patch #3212624 fixing std::map Keys property.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-03-15 07:30:18 +00:00
William S Fulton
8a05a23612
Apply patch from Tomas Dirvanauskas for std::map wrappers to avoid throwing exceptions with normal usage of iterators.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-09-28 06:36:42 +00:00
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
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
40ea6e5da4
use so that macros are no longer needed for std::map wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-08-04 17:58:17 +00:00
William S Fulton
25bcb4d5e6
std::map C# improvements
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-26 17:08:53 +00:00
William S Fulton
3ffdfee64a
remove authors - these are in the CHANGES files and README files
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-26 06:31:04 +00:00
William S Fulton
9361144964
Add copy constructor to std::map and make more efficient by passing keys and mapped type by reference instead of value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-26 06:28:20 +00:00
William S Fulton
07ed699ef3
use instead of self
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-22 06:11:45 +00:00
William S Fulton
30335a0198
std::map improvements based on patch from Yuval Baror
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-05-22 06:10:52 +00:00
William S Fulton
aabbc69818
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@8974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:21:51 +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
William S Fulton
effe88404d
Stop using SWIG_exception. It is flawed.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:33:32 +00:00
William S Fulton
1f6afbffa6
Added std::map wrappers for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:33:14 +00:00