Commit graph

13 commits

Author SHA1 Message Date
William S Fulton
0a64cc1e41 Finally std::string global and member variables are wrapped as strings by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:42:25 +00:00
William S Fulton
f545472fe8 cosmetic changes removing unnecessary brackets and empty lines in generated code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 13:58:10 +00:00
William S Fulton
fb00ecc75d NullReferenceException replaced with ArgumentNullException
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-07 21:47:13 +00:00
William S Fulton
c83bd7f640 Wider range of C# exceptions to throw. More applicable exceptions in are thrown.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:56:18 +00:00
William S Fulton
0f8569d076 Latest exception fixes for properties
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:02:22 +00:00
William S Fulton
1462927909 More of the new C# exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-05 00:45:57 +00:00
William S Fulton
a78579ec3f C# exception handling improvements - they are robust and don't leak anymore. Requires typemap modifications using attribute canthrow in any unmanaged code typemaps that throw an exception and excode attribute in csout and csconstruct typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-02 22:44:32 +00:00
William S Fulton
62429d8fc7 Typemaps for std::string member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:44:53 +00:00
William S Fulton
31d1012b0a removed redundant valuewrapper feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:19:14 +00:00
Marcelo Matus
4855fb73ae avoid to use SwigValueWrapper with std::string, just to keep the code cleaner and familiar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 00:35:16 +00:00
William S Fulton
b026a95b59 throws typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-26 21:57:36 +00:00
William S Fulton
98feab7822 Prevent memory leaks in the case of earlier return
from wrapper methods using const std::string & parameters. Modified
Mark Traudt patch #951565.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 20:57:08 +00:00
William S Fulton
964f56d0d9 Support for std::string and const std::string &
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:13:48 +00:00