Marcelo Matus
2ab2beac5c
fix for SF#1096981, bad long castings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 23:16:30 +00:00
William S Fulton
4e685824fd
C# exceptions - wider range of exceptions to throw
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 22:57:39 +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
Marcelo Matus
86c306dcc2
Use SWIGUNUSED attribute and fix warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:54:20 +00:00
Marcelo Matus
3853c510c6
fix PyOS_snprintf for old python versions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:53:41 +00:00
Marcelo Matus
9537f69323
fix empty map bug
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:52:43 +00:00
Marcelo Matus
43b0008892
fix static/inline warning, add SWIGUNUSED attribute
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6979 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:51:59 +00:00
Marcelo Matus
0f4ccf3f96
fix unused warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6978 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 19:51:14 +00:00
William S Fulton
95dab62304
Patch from Olly Betts, so that wrappers compile with Zend thread safety enabled.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 05:40:41 +00:00
William S Fulton
a0bdbf50a7
Correct memory allocation for STRINGARRAY
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:18:02 +00:00
William S Fulton
c9d6c1a6e3
%exception fixes for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:23:59 +00:00
William S Fulton
e0a1a5231e
revert last %exception changes for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:10:13 +00:00
William S Fulton
c8b6a0687c
Fixes to SWIG_exception for C# and Java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:09:06 +00:00
William S Fulton
97ed6ef9f3
Latest exception fixes for properties
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:02:22 +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
Matthias Köppe
05a6e3b6da
Remove %apply for size_t; add %typecheck for size_t and ptrdiff_t
...
directly. This fixes warnings in test case wrapmacro.
Add %typecheck for SWIGTYPE. This fixes warnings in test cases
director_basic, extend_placement, overload_template,
template_default_arg, valuewrapper_opaque.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:30:39 +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
df49ff9f1e
minor name change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-02 22:28:21 +00:00
John Lenz
15392cf5f7
Add __attribute__ ((unsued)) to runtime functions for gcc compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 18:58:47 +00:00
John Lenz
c3338b1a16
- Improve the runtime type sytesm
...
- Update all languages to new type system
- Add DohSortList function
- Fix mzscheme Examples/Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
John Lenz
0f2ed8e655
hide swig-initialize-return symbol in chicken exported scheme code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-24 03:14:38 +00:00
John Lenz
93618727bb
Cast guile enum in typemap corretly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-24 03:01:09 +00:00
William S Fulton
17cce470f2
new typemap: csconstruct. This typemap contains the code that goes into the proxy constructor.
...
The generated code is slightly different. A method called swigSetup is called during construction of the proxy object.
This is for a future change where a try finally block needs to be put around an unmanaged call during construction (for a new c++ to c# exception conversion handling mechanism)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:59:08 +00:00
William S Fulton
9cfc9129fd
new typemap: javaconstruct. This typemap contains the code that goes into the proxy constructor.
...
The javaconstruct_director typemap is used instead when directors are enabled.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:58:39 +00:00
Marcelo Matus
bef269c021
fix for 'staticmethod' kw name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:32:31 +00:00
Marcelo Matus
38f4a38509
fix varin for ptr types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 20:07:16 +00:00
Marcelo Matus
275031b938
fix typecheck for INPUT* type
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-20 09:50:55 +00:00
Marcelo Matus
5657e0f7fb
fix *INPUT typemaps for ptr types, now a null value is ok
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 22:48:33 +00:00
Marcelo Matus
839e80a70b
fix *INPUT typemaps for ptr types, now a null value is ok
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 22:36:45 +00:00
Marcelo Matus
b316e6445a
fix varin typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 04:34:43 +00:00
Marcelo Matus
544f24441e
solve possible seg. faults and directors #1080075
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 10:40:01 +00:00
Marcelo Matus
15eb43e5d1
fix warning(error?) with jlong + x86_64
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 01:37:38 +00:00
Marcelo Matus
bd0ccd3769
using new template resolution for def args, and cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 01:35:52 +00:00
Marcelo Matus
a45c6c63a1
better warning message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 00:58:24 +00:00
Marcelo Matus
d640972da9
fix directorout + cosmetic
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 00:57:39 +00:00
Marcelo Matus
c98340f0a7
fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
John Lenz
66c86a0c6f
install swigclosprefix.scm when running make install
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 02:03:55 +00:00
Marcelo Matus
e640a7c2b9
fix errors when used with templates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:59:10 +00:00
Marcelo Matus
4d2e1e87d6
global fix for operator*(), now mapped as __ref__
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 23:54:07 +00:00
Marcelo Matus
1b3848b579
fix for Windows
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 23:38:44 +00:00
Marcelo Matus
b1ed62fc81
global fix for operator*(), now mapped as __ref__
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 23:38:07 +00:00
Marcelo Matus
37c727888b
fixes for operator*()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 10:20:05 +00:00
Marcelo Matus
988db075cb
fix char* typemap in bug #1080514
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 08:30:40 +00:00
William S Fulton
9230fe525a
mods so that a %apply will work on pointers, eg %apply int[] {int*}
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-08 22:49:00 +00:00
William S Fulton
7da7f8a112
minor SWIGTYPE[] additions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-08 22:47:41 +00:00
William S Fulton
deaf8c681f
new directorconnect and directorconnect_derived typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:04:54 +00:00
Marcelo Matus
ec2efb899d
more on template def args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-06 07:05:48 +00:00
Marcelo Matus
6b499410dd
more fixes for template + def args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-05 10:15:25 +00:00
Marcelo Matus
d8ae51668b
fix include in bug #1076122
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 12:02:46 +00:00