Commit graph

26 commits

Author SHA1 Message Date
William S Fulton
3463ced917 various warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 23:25:20 +00:00
William S Fulton
860daa4499 InvalidCastException added for throwing from unmanaged code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-04 00:21:28 +00:00
William S Fulton
337ca33568 Add in defines to optionally remove the C# exception and string helper support code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-21 23:53:06 +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
fb644e707e remove unused warnings with gcc -Wall
Add sanity check back in checking that the pending exception count is zero per thread


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:39:54 +00:00
William S Fulton
214a1839ee Add inner exception support with ideas from Tamas Szekeres
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 23:18:45 +00:00
William S Fulton
eaa82f313d New $imclassname special variable to enable changing the intermediary class name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 10:25:30 +00:00
William S Fulton
de35943f2f Uniform SWIGEXPORT handling across SWIG (was DllExport in C# module)
SWIGSTDCALL moved to swiglabels.swg.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-27 22:37:29 +00:00
William S Fulton
07019d1a97 minor warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-13 21:36:58 +00:00
William S Fulton
015c75b224 Mods to remove warnings that mono-1.1.7 produces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-06 22:47:32 +00:00
William S Fulton
09dfe38209 Updated method names since move to new pending exception approach
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-19 23:59:02 +00:00
William S Fulton
0e0573fa01 Wider range of C# exceptions to throw. More applicable exceptions in are thrown.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:56:18 +00:00
William S Fulton
ea7207963c pending exception assertion makeover
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:59:46 +00:00
William S Fulton
91b75b245f More of the new C# exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-05 00:45:57 +00:00
William S Fulton
bac8f43f79 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/SWIG@6934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-02 22:44:32 +00:00
William S Fulton
e29eede0af $dllimport special variable to specify the DllImport attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:44:10 +00:00
William S Fulton
0d26c39dd0 array bounds check fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-29 22:54:22 +00:00
William S Fulton
d2430605d9 Completely removed SWIG_NOINCLUDE as the functions that use it don't need to be shared across different modules, besides there is no runtime library for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-30 20:54:49 +00:00
William S Fulton
151e882462 contract assert macro fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:56:02 +00:00
William S Fulton
804578107a Contract assert macro added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:39:37 +00:00
William S Fulton
9506c8c9f7 Delegate register function name mangling. Mangled with the module name to prevent name clashes when using more than 1 module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-01 00:47:14 +00:00
William S Fulton
e480bac0b3 Warning removal in runtime code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-16 20:50:16 +00:00
William S Fulton
3915cf6ecb Delegates for returning strings to C# to solve memory leaking problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:12:58 +00:00
William S Fulton
4a8e40a3ae Support for throwing C# exceptions from C/C++
Fix for pinvoke methods calling convention on Windows (__stdcall). The default calling conventions in the C# 'extern' method now matches the C function calling convention declaration.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:02:10 +00:00
William S Fulton
6a687d88b1 include stdio.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 22:26:10 +00:00
William S Fulton
e702ffd133 Non typemap code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-12 20:33:38 +00:00