Commit graph

1,815 commits

Author SHA1 Message Date
William S Fulton
a7fa8d86cc 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/SWIG@4933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:52:26 +00:00
William S Fulton
6c72fdcceb C# warnings added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:47:21 +00:00
William S Fulton
ebffad0ba2 Added javain, javout and newfree throws attributes tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-27 13:17:20 +00:00
William S Fulton
2ba4f04966 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-27 13:15:36 +00:00
William S Fulton
2ef3a59918 throws attribute working for javain, javaout (Java), csout, csin (C#) and newfree typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-27 13:14:08 +00:00
Mark Rose
9b9680f3ac multiargument director typemap segfault fix (python)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-26 09:46:32 +00:00
Art Yerkes
4ef881fde4 Added <H5> rule to makechap.py.
Ocaml.html: Added more about array usage and director typemaps (I got these
questions from users recently).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-25 18:55:34 +00:00
William S Fulton
c13a3081b3 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-25 09:36:59 +00:00
William S Fulton
7fcf9e3f52 swig.m4 moved to Tools/config
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-25 09:33:00 +00:00
Matthias Köppe
4eca80e43a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-24 16:26:42 +00:00
Matthias Köppe
172eeea6c4 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/SWIG@4922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-24 16:24:02 +00:00
Luigi Ballabio
a41cef0925 Added m4 macros for projects using SWIG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-24 08:26:38 +00:00
William S Fulton
9864ede718 Special variables typo reported by James Carpenter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-23 19:36:24 +00:00
Matthias Köppe
f6134a79c9 Fixed last change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-23 14:07:17 +00:00
Matthias Köppe
a5ad097f5e Proposal for "nested typemap" syntax.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-23 14:05:58 +00:00
William S Fulton
c265b5f0c3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-20 21:18:38 +00:00
William S Fulton
56fecc2b0f Destructor syntax for finalize method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-20 21:18:26 +00:00
Logan Johnson
941b5d039c Added some notes to the "Compilation of C++ Extensions" section, about
how to modify the extconf.rb script so that it links in one of the C++
runtime libraries.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-20 16:39:08 +00:00
Art Yerkes
6c13321878 Added a usage message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-19 21:29:08 +00:00
Matthias Köppe
ac6e7eaa44 (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/SWIG@4913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-18 13:18:01 +00:00
Matthias Köppe
30bcf4d0d1 Moved #defines for SWIG_malloc, SWIG_ConvertPtr et al. from %runtime
block into runtime file.
This fixes the build of the runtime library.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-18 13:16:23 +00:00
Matthias Köppe
36055df144 (SWIG_Guile_Init): Cast some strings to char* to avoid const-ness warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-17 08:51:42 +00:00
William S Fulton
138ce8901e Listed equivalent C#/Java typemap names, directives etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-16 22:49:34 +00:00
William S Fulton
3efd8a4f20 maketoc update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-16 22:33:14 +00:00
William S Fulton
72fd5b0dac Preliminaries section improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-16 22:28:10 +00:00
William S Fulton
e9543768e1 Update with links with names that don't get changed during TOC generation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-16 22:26:31 +00:00
William S Fulton
ad50ad8545 Few more JCALLx macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-13 08:27:33 +00:00
William S Fulton
ebb159a94e Intermediary JNI class update
New typemaps update
Update links to make them maketoc.py trash proof :)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 20:44:38 +00:00
William S Fulton
152b65e518 protected/private destructors fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 19:47:24 +00:00
William S Fulton
c8d1feb8a0 Java output formatting change and tweak to protected/private destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 19:46:27 +00:00
William S Fulton
d6b6356a02 explicit is a C# keyword so the explicit.i testcase fails.
Removed explicit.i altogether and merged test into constructor_explicit.i as it is almost identical.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 14:07:57 +00:00
William S Fulton
b81bebbb98 fix for testing under C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 13:29:30 +00:00
William S Fulton
41d404a446 explicit is a C# keyword so the explicit.i testcase fails.
Removed explicit.i altogether and merged test into constructor_explicit.i as it is almost identical.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 13:14:10 +00:00
William S Fulton
53862f4f5f Update for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 13:01:36 +00:00
William S Fulton
4667d7bf2a C# typemap name change twiddle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 12:32:08 +00:00
William S Fulton
2837d84df9 Corrected comment on the type typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 12:30:17 +00:00
William S Fulton
6c239cbb01 Inhibited multiple inheritance warnings for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 12:15:30 +00:00
William S Fulton
2cdbe141cb Added C# warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:48:54 +00:00
William S Fulton
f417d91bf0 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/SWIG@4893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:47:01 +00:00
William S Fulton
4795f0012b 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/SWIG@4892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:45:04 +00:00
Luigi Ballabio
7fa5ca10e0 Proposal for nested typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 07:19:54 +00:00
William S Fulton
b983da351d 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/SWIG@4890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 19:52:27 +00:00
William S Fulton
21948a15cc C# removed from this test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 09:31:19 +00:00
William S Fulton
08e31b4765 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 09:22:06 +00:00
William S Fulton
ca3ef48e62 protected and private destructor test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 09:16:40 +00:00
William S Fulton
10578504db Tweak for protected and private destructor wrapping
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 09:15:06 +00:00
William S Fulton
580a0bf82d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 23:10:04 +00:00
William S Fulton
6b4726769b 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/SWIG@4884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 23:09:47 +00:00
William S Fulton
965af85915 Dispose method now prevents finalizer from being called
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 22:15:09 +00:00
William S Fulton
ef1c19e971 Better C# clean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 22:00:16 +00:00