Commit graph

237 commits

Author SHA1 Message Date
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
48274f3645 Destructor syntax for finalize method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-20 21:18:26 +00:00
Matthias Köppe
599cf52a50 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@4912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-18 13:16:23 +00:00
Matthias Köppe
464b80d54f (SWIG_Guile_Init): Cast some strings to char* to avoid const-ness warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-17 08:51:42 +00:00
William S Fulton
01b89c2446 Few more JCALLx macros
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-13 08:27:33 +00:00
William S Fulton
6dcd1966d0 protected/private destructors fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 19:47:24 +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
fb2113a8c5 Corrected comment on the type typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 12:30:17 +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
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
William S Fulton
3695a3e0db Dispose method now prevents finalizer from being called
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 22:15:09 +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
Matthias Köppe
919fa9ab45 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@4880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:54:01 +00:00
William S Fulton
b643048800 cildispose and cildisposeoverride typemaps replaced by
csdestruct_base and csdestruct_derived typemaps. The delete()
method has been removed and its functionality put into these
typemaps designed for the Dispose method.
New typemaps: csfinalize for finalizers.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:43:58 +00:00
William S Fulton
9352654318 New typemaps: javadestruct_base and javadestruct_derived
for the C++ destructor wrapper. The _base version gets used by
classes at the top of an inheritance chain and the _derived
version gets used by other classes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:40:26 +00:00
Tiger Feng
dde9afd927 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:12:35 +00:00
Art Yerkes
310751dc48 Added class template support (removes text of ocaml class definition from swig
executable).  Now, changes to the implementation of classes can be made without
affecting SWIG itself.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-08 03:49:09 +00:00
Art Yerkes
d2cd68c7cc Typedef_mptr test (with runme).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 16:19:28 +00:00
Art Yerkes
a1ffa6afda Added minherit test + runme.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 15:16:32 +00:00
Art Yerkes
0f99021074 All test cases work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 04:29:38 +00:00
Art Yerkes
0d37f3609d Three test cases remaining. Gotta fix em all!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 04:01:56 +00:00
Art Yerkes
d70fd338be Four failed test cases remaining.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 02:04:00 +00:00
Art Yerkes
2289a0009a Fixed two test cases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-06 01:42:57 +00:00
Logan Johnson
615ff6cc1b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-04 23:36:13 +00:00
Matthias Köppe
34ea7f03ef Merged first chunk of Guile changes contributed by John Lenz.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 22:12:50 +00:00
Logan Johnson
997070860e Modified how the SWIG_DIRECTOR_EXCEPTION class (and its subclasses) are
implemented for the Ruby module. Now the SWIG_DIRECTOR_EXCEPTION object
stores a reference to the Ruby exception instance.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 17:54:53 +00:00
Logan Johnson
6db7df0733 Fixed array typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 22:13:52 +00:00
Logan Johnson
7740019f91 Added include of <assert.h> for Ruby's director.swg.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 19:35:15 +00:00
Art Yerkes
fdf7d97330 Added <assert.h>. I forgot it and GCC-3.3 no longer includes it from
any other header I use.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-02 02:36:46 +00:00
William S Fulton
c3b517df76 Removed varin typemaps for SWIGTYPE[] (dimensionless arrays).
These were useless as they just produced a setter that gave a runtime error.
Exposes some missing varin SWIGTYPE[ANY] typemaps - they show up in the test-suite.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:59:10 +00:00
William S Fulton
00a4f2ee32 Removed globalin and memberin typemaps for dimensionless arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4842 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:54:53 +00:00
William S Fulton
ed21684067 globalin and memberin typemaps for dimensionless arrays
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 13:54:59 +00:00
Dave Beazley
dfcf44cba5 Added setter for global arrays.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:57 +00:00
Dave Beazley
1a7caba8b5 Fixed to array typemaps (memberin, globalin).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4828 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-29 18:27:28 +00:00
Luigi Ballabio
418ed3416b Added correct (I hope) typechecking for native scripting objects
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-22 13:01:44 +00:00
Tiger Feng
d2d6640236 contract: SWIG_assertion(expr) for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 21:17:23 +00:00
Dave Beazley
56d7071ffa Experimental contract work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-21 18:08:26 +00:00
Art Yerkes
2695aede2d Removed runtime lib. It's not needed anymore.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 17:59:31 +00:00
Luigi Ballabio
1a2c2c6ebc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 09:13:12 +00:00
Luigi Ballabio
0419085bfd Specialized typemaps---some problems though
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4792 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 08:47:31 +00:00
Luigi Ballabio
9f9b5aadab Missing files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-08 13:02:58 +00:00
Logan Johnson
9a7675f953 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 16:12:56 +00:00
Logan Johnson
332eb499a2 Fix SWIGTYPE output typemaps for Pike module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 16:04:10 +00:00
Logan Johnson
184da7430f A little more work on the Ruby support for C++ polymorphism. Exception
handling almost works...


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 16:08:16 +00:00
William S Fulton
199b38f39e Fix for push_back as suggested by Gualtiero Chiaia
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-26 12:54:52 +00:00
Logan Johnson
c0a9e0d223 Add inv and outv Ruby typemaps for std::string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-26 00:00:19 +00:00
Logan Johnson
3e7037351a Made a change to the type-checking code in SWIG_ConvertPtr() for the Ruby
module, so that the new multiple-inheritance support code will work.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 20:00:46 +00:00
Logan Johnson
183be41892 Initial changes for limited MI support in Ruby (still under construction!)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-25 17:38:42 +00:00
Logan Johnson
d9d068ca1a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-17 23:49:17 +00:00
Logan Johnson
0af3e7f14f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-16 22:44:05 +00:00