William S Fulton
2199bba36a
Fixes for throwing exceptions in director (Java) methods
...
Removed redundant ExceptionClear calls
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:46:22 +00:00
William S Fulton
b19cde7205
java director warning changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:48:02 +00:00
William S Fulton
4b16ce4355
More director changes from Scott Michel - no more director code in normal wrappers plus other changes for classes in an inheritance chain
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:47:37 +00:00
Dave Beazley
4cf4dad108
Major refactoring of DOH List/Hash iterators. See CHANGES
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
Matthias Köppe
1da47228e1
Remove prototypes for the deleted functions SwigType_reset_scopes,
...
SwigType_set_scope_name, Swig_debug_emit, Swig_typemap_lookup_multi.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:42:20 +00:00
Matthias Köppe
8044db29b3
Print Doh List objects readably.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:38:16 +00:00
William S Fulton
26806f865f
Director fix. result in director wrappers must not be initialised to zero. Fixes case when std::string is return type.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-07 10:24:28 +00:00
William S Fulton
1b75602a00
Assorted director fixes by Scott Michel
...
Bug fix so directors work with package names that use an underscore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:50:38 +00:00
William S Fulton
c4d545bd5d
new method abstractClassTest - by Scott Michel
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5085 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:39:31 +00:00
Tiger Feng
04d557113f
modified contract output format
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-05 19:11:11 +00:00
William S Fulton
d79b53bb54
Java directors implementation contributed by Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:26:29 +00:00
William S Fulton
f87e2f574a
Java directors implementation contributed by Scott Michel.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:15:05 +00:00
William S Fulton
fe6447f708
-E added to options displayed with -help
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-02 19:55:05 +00:00
Dave Beazley
860baa7745
Fixed [ 794914 ] Wrong types in template specialization.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 19:59:39 +00:00
Tiger Feng
75ca26902b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:19:41 +00:00
Dave Beazley
903a905640
Fixed [ 797573 ] no way to rename classes coming from C structures.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 17:54:22 +00:00
Dave Beazley
dbf4f328f9
Fixed [ 797576 ] -help seems to imply that only tcl-specific options exist
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 17:21:40 +00:00
Dave Beazley
48ad8e3946
misc cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 17:03:29 +00:00
Mark Rose
c1b57370b6
Abstract directors and typemap fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:03:34 +00:00
William S Fulton
dd03b228c6
Support for throwing C# exceptions from C/C++ - $module special variable.
...
Pinvoke method's calling convention fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:09:32 +00:00
Dave Beazley
9040f3a579
Work on embedded typemaps. Highly experimental--probably broken
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 21:19:27 +00:00
Dave Beazley
66036e07bd
Warning cleanup. Etc.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 19:37:27 +00:00
Dave Beazley
ffec8016d8
Fixed [ 763522 ] 1.3.19 segfault in SwigType_add_pointer/DohInsertitem.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 18:22:08 +00:00
Dave Beazley
6b5d7e8801
Fixed [ 763563 ] Missing indication of optional arguments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 18:11:36 +00:00
Dave Beazley
23b6a985cd
Fixed [ 775989 ] numeric template parameters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4994 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 19:24:31 +00:00
Dave Beazley
95ebf5724d
Further patch to :: space handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 17:55:04 +00:00
Mark Rose
e87d1bb79b
Directors ignore private ctors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 01:05:05 +00:00
William S Fulton
80a57f70f7
Fix for windows. Files were not being generated into the correct directories if the Windows path separator was used. The Unix separator '/' had to be used.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:24:54 +00:00
William S Fulton
06ed231b7d
-outdir commandline option support => directory for proxy class and other language specific files
...
-help tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:22:12 +00:00
Dave Beazley
c9ecaaba02
Fixed [ 779062 ] Class"\n"::foo not supported.
...
Also changed 'char' to 'int' in a few places to silence warning messages.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 15:46:00 +00:00
William S Fulton
8f731b89f9
Added preprocessor symbols
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-04 21:47:56 +00:00
Matthias Köppe
eb66a55aae
Compute output file name correctly in C mode.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-01 18:34:48 +00:00
Matthias Köppe
e23afc1982
Handle the case of more than one "argout" typemap per function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-01 17:00:04 +00:00
William S Fulton
76e434d527
C# warning correction
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:55:33 +00:00
William S Fulton
1a1e8e0cc2
Changed Swig_typemap_attach_kwargs to have global scope
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:54:44 +00:00
William S Fulton
b03c08d211
New typemap attribute which specifies the destructor wrapper method name thus making the wrapper method name configurable.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:52:26 +00:00
William S Fulton
c89e7d9923
throws attribute working for javain, javaout (Java), csout, csin (C#) and newfree typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-27 13:14:08 +00:00
Mark Rose
61e87af65e
multiargument director typemap segfault fix (python)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-26 09:46:32 +00:00
William S Fulton
e81b4cd86c
warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-25 09:36:59 +00:00
Matthias Köppe
9d97007973
From felix@proxima-mt.de:
...
The module for generating wrappers for the Chicken
Scheme system contains a small bug: the wrappers
should not contain calls to "C_check_for_interrupt",
which may result in an endless loop.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-24 16:24:02 +00:00
Matthias Köppe
38627eac3f
(tmop_name): Fix for the case of a String *op.
...
This fixes the Guile testcase pointer_in_out (and others).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-18 13:18:01 +00:00
William S Fulton
1e2e0d140c
Java output formatting change and tweak to protected/private destructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 19:46:27 +00:00
William S Fulton
11395c5a82
C# typemap name change twiddle
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 12:32:08 +00:00
William S Fulton
24059cee7e
Added C# warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:48:54 +00:00
William S Fulton
4d713d89ac
More generic variable names matching the C# module, so that next time the module is copied it will making porting more easy.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:47:01 +00:00
William S Fulton
ffcf1342db
Update so that the module doesn't look like it is wrapping Java! Variable name changes, comments etc modified.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:45:04 +00:00
William S Fulton
3c2f9d8057
A number of the C# features, pragmas and typemaps have had their names changed.
...
They no longer have java or jni in their names. CHANGES file has complete list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 19:52:27 +00:00
William S Fulton
5d4984f150
Tweak for protected and private destructor wrapping
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 09:15:06 +00:00
William S Fulton
f15e005915
New typemaps csinterfaces_base and csinterfaces_derived replace
...
the javainterfaces typemap. Also fixes the peculiarity of all classes
in an inheritance chain individually deriving from the IDisposable
interface.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 23:09:47 +00:00
Matthias Köppe
241eeec6ba
Merged MzScheme changes contributed by John Lenz.
...
Minor build changes to fix MzScheme/C++ test cases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:58:02 +00:00