William S Fulton
942ec4b99e
Patch from Olly Betts, so that wrappers compile with Zend thread safety enabled.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-22 05:40:41 +00:00
William S Fulton
b985b7dbcc
Correct memory allocation for STRINGARRAY
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-17 22:18:02 +00:00
William S Fulton
fd1a2bcba0
%exception fixes for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:23:59 +00:00
William S Fulton
edd9bb98e5
revert last %exception changes for C#
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:10:13 +00:00
William S Fulton
0706a82932
Fixes to SWIG_exception for C# and Java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:09:06 +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
eb7b7dfd20
pending exception assertion makeover
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 21:59:46 +00:00
Matthias Köppe
5753fdb420
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@6941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-13 12:30:39 +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
d5faf4d89c
minor name change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-02 22:28:21 +00:00
John Lenz
3af4b2bea0
Add __attribute__ ((unsued)) to runtime functions for gcc compilers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 18:58:47 +00:00
John Lenz
f6964f285f
- 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@6930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-01 00:08:24 +00:00
John Lenz
58cd593dae
hide swig-initialize-return symbol in chicken exported scheme code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-24 03:14:38 +00:00
John Lenz
5ee9c3b717
Cast guile enum in typemap corretly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-24 03:01:09 +00:00
William S Fulton
7ddc22dd99
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@6924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:59:08 +00:00
William S Fulton
2394fc2d86
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@6923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:58:39 +00:00
Marcelo Matus
983bb8f35d
fix for 'staticmethod' kw name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-22 20:32:31 +00:00
Marcelo Matus
a80aa7fe40
fix varin for ptr types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-21 20:07:16 +00:00
Marcelo Matus
eb78df9899
fix typecheck for INPUT* type
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-20 09:50:55 +00:00
Marcelo Matus
f41a1ba089
fix *INPUT typemaps for ptr types, now a null value is ok
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 22:48:33 +00:00
Marcelo Matus
c57d081dfb
fix *INPUT typemaps for ptr types, now a null value is ok
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 22:36:45 +00:00
Marcelo Matus
e7b400bc7d
fix varin typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 04:34:43 +00:00
Marcelo Matus
e67b13b202
solve possible seg. faults and directors #1080075
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 10:40:01 +00:00
Marcelo Matus
d9e31764a8
fix warning(error?) with jlong + x86_64
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 01:37:38 +00:00
Marcelo Matus
8cdd2ddb5e
using new template resolution for def args, and cosmetics
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 01:35:52 +00:00
Marcelo Matus
176d86f1d0
better warning message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 00:58:24 +00:00
Marcelo Matus
e7c1108ed1
fix directorout + cosmetic
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 00:57:39 +00:00
Marcelo Matus
cca7ef61ea
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@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
John Lenz
1e82944c7a
install swigclosprefix.scm when running make install
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 02:03:55 +00:00
Marcelo Matus
689f2ecfa2
fix errors when used with templates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:59:10 +00:00
Marcelo Matus
6737de7198
global fix for operator*(), now mapped as __ref__
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 23:54:07 +00:00
Marcelo Matus
61b1dc73f5
fix for Windows
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 23:38:44 +00:00
Marcelo Matus
7df3a0ab13
global fix for operator*(), now mapped as __ref__
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 23:38:07 +00:00
Marcelo Matus
047b1264be
fixes for operator*()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 10:20:05 +00:00
Marcelo Matus
66c195b89d
fix char* typemap in bug #1080514
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 08:30:40 +00:00
William S Fulton
6722b2ea89
mods so that a %apply will work on pointers, eg %apply int[] {int*}
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-08 22:49:00 +00:00
William S Fulton
e6ff90147e
minor SWIGTYPE[] additions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-08 22:47:41 +00:00
William S Fulton
35b1c77401
new directorconnect and directorconnect_derived typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-07 23:04:54 +00:00
Marcelo Matus
0d13ffd07f
more on template def args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-06 07:05:48 +00:00
Marcelo Matus
b8ae49d52d
more fixes for template + def args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-05 10:15:25 +00:00
Marcelo Matus
7934dbb7b1
fix include in bug #1076122
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 12:02:46 +00:00
Marcelo Matus
ee3e53c9cd
better support for string and def. args, plus adding allocator + sstream
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:22:30 +00:00
Marcelo Matus
84065db35b
fix error in bool
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:20:42 +00:00
Marcelo Matus
0a974f5943
fixes for void*
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:20:04 +00:00
Marcelo Matus
2fdbd8679f
fix enum + ref + directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:18:56 +00:00
William S Fulton
b29d0c18a6
Corrected usage of $javaclassname special variables in director typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-30 20:10:44 +00:00
John Lenz
1e3c7f3704
perl module now supports runtime.swg
...
+ split up Perl_LookupTypePointer into two functions like python module
+ added a perlinit.swg file with the code from the bottom of perl5.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-29 23:13:57 +00:00
William S Fulton
9402fa3b00
const enum SWIGTYPE & typemaps added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6783 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:16:24 +00:00
William S Fulton
c91fa37700
%name replaced by %rename
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:15:04 +00:00