Commit graph

19 commits

Author SHA1 Message Date
William S Fulton
3c24cacfbd 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@9467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:54:14 +00:00
Olly Betts
e92b336fc5 Reapply the valid half of my previous patch (which fixes the case I
just added to the testsuite and doesn't break anything else).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 00:04:41 +00:00
William S Fulton
fa25ee685c Revert last change, it breaks the test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:42:47 +00:00
Olly Betts
1842ced9b5 Need to use .c_str() not ->c_str() with "const std::string &".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-10 11:44:08 +00:00
William S Fulton
b98445c19f Director support added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:15:37 +00:00
William S Fulton
c188bc31a0 Common template for head of each file detailing licence, distribution and authors information
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:21:51 +00:00
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