Dave Beazley
9b3c9e12d2
Fixed infinite loop on enum.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 16:40:54 +00:00
Matthias Köppe
2963e7676c
[Guile] New command-line option "-emit-setters".
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 14:50:15 +00:00
Dave Beazley
8b3c2f1c0a
Slight tweak to enum handling and typedefs.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 03:44:03 +00:00
Dave Beazley
455500b25d
Changed enum handling to try and fix C++ enum handling bugs.
...
Any enum type is now explicitly reduced to an 'int' by SwigType_lstr() and
SwigType_ltype().
Also made a few modifications to the handling of 'const' keywords which
reduces the amount of casting.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 03:42:03 +00:00
Masaki Fukushima
48bc25b91e
Many bug fixes to Ruby module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 13:32:29 +00:00
Matthias Köppe
e867ed25a8
Incorporated patch #101430 , fixing bugs in the Guile module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 09:35:36 +00:00
Dave Beazley
465ee17792
Fixed large file assertion problem. Not really a problem with large files, but rather an
...
extraneous Delete in the code to emit type-tables that didn't cause a problem except
in interfaces that had lots of types (and classes).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 02:18:45 +00:00
Dave Beazley
895a86895d
Fixed scanning problem with '%' tokens (they were mysteriously disappearing in added methods and elsewhere).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 01:40:45 +00:00
Dave Beazley
dcefa8ad30
Fixed constant creation bug with pointers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 15:53:40 +00:00
Dave Beazley
59ec687725
Fixed pointer to function bug.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 02:16:17 +00:00
Dave Beazley
56c40c8a45
Added $typemap variable to typemaps. Feature request on mailing list.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 01:51:33 +00:00
Dave Beazley
ed10189a0b
Took out cv=cv, items=items hack.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 00:46:02 +00:00
Dave Beazley
88face31f8
Took out 'self = self' hack.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 00:43:47 +00:00
Dave Beazley
d2c2d5ac09
Didn't fix the virtual member function problem (at least I don't think
...
so), but I did discover a simple code-generation optimization that
greatly reduces the amount of wrapper code generated for interfaces with
lots of virtual functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 21:24:13 +00:00
Dave Beazley
77a76ff4ce
Changes to support memberin typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 19:14:55 +00:00
Dave Beazley
c05519fd55
Fixed bizarre seg-fault in Perl5 module (I think).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 19:04:52 +00:00
Dave Beazley
df6cbfac91
Fixed seg-fault with arrays.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 18:34:54 +00:00
Masaki Fukushima
4db681110d
a few bug fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 17:11:15 +00:00
Dave Beazley
74f12225d3
Fixed bug in default argument handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:45:30 +00:00
Dave Beazley
34c2500de2
New %types directive
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:26:10 +00:00
Dave Beazley
16ff68c288
Changed _swig_type_info to swig_type_info
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Dave Beazley
e60ab82481
Removed unused tokens and other cleanup of parser/scanner
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 21:02:37 +00:00
Dave Beazley
3beee3ed17
Restored mzscheme
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 20:55:59 +00:00
Dave Beazley
f80859b855
Minor cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 16:01:42 +00:00
Dave Beazley
86789b2084
Added new Swig_init function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 16:01:30 +00:00
Dave Beazley
8b909b0d8a
Fixed bug with creating pointer constants.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 16:00:40 +00:00
Matthias Köppe
5083014aa8
Fixed bugs reported by Purify.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 15:50:55 +00:00
Dave Beazley
7ccdd2fc6d
Fixed const problem.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 01:00:38 +00:00
Dave Beazley
2b0da81001
Modified C++ handling code to inherit destructors so that a derived class
...
without a destructor can pick up a destructor (if any) from a base class.
This is highly experimental---I may take it out if it breaks too much stuff.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 21:41:00 +00:00
Matthias Köppe
6df63cbf3c
Handle `ltdlmod' linkage.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 21:39:21 +00:00
Dave Beazley
cb4255a086
Fixed problem with abstract base classes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:41:14 +00:00
Dave Beazley
ee67a3e146
Fixed C++ code generation so that constructors for abstract classes aren't
...
generated (note: this is a sick hack).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:41:02 +00:00
Dave Beazley
1bdc09434b
Fixed naming generation problem for static C++ variables.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:11:56 +00:00
Dave Beazley
f748c7a6e9
Fixed problem in void pointer handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 18:22:40 +00:00
Dave Beazley
90a7839b0c
Fixed problem in handling of void pointers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 18:19:50 +00:00
Thien-Thi Nguyen
877aa52016
Use EXIT_SUCCESS' and EXIT_FAILURE'.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 18:04:30 +00:00
Thien-Thi Nguyen
6958bb4c08
(SWIG_exit): Fix bug: Use exit code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 17:47:33 +00:00
Thien-Thi Nguyen
09278801cb
Comment. No functional change.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 17:43:42 +00:00
Dave Beazley
04ce582624
Fixed void pointer problem.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 16:34:22 +00:00
Matthias Köppe
a82f83b19d
Handle more than 10 args.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 12:12:40 +00:00
Matthias Köppe
1c8a963323
Use \033 instead of \e since the latter is not standard (Sun cc warns
...
about an anachronism).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 10:49:31 +00:00
Dave Beazley
591ac1380f
Bug fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 04:39:35 +00:00
Dave Beazley
0f2bce07bd
Variable linking patches.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 04:37:53 +00:00
Dave Beazley
227cacaa8e
Bug fixes in variable linking.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 22:37:51 +00:00
Matthias Köppe
d5431492ae
Fixed handling of char types.
...
Added support for optional arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 21:53:49 +00:00
Matthias Köppe
f05199ab6b
Declare initialization function in runtime section.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:35:02 +00:00
Dave Beazley
f0d3bb4665
Extensive bug fixes to variable linking.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:24:44 +00:00
Dave Beazley
6de4c96f1f
Added Swig_string_mangle() function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:23:58 +00:00
Matthias Köppe
4e7e67c912
Fixed %init directive warning.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:18:54 +00:00
Matthias Köppe
b7055de184
Added documentation for variable and constant wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 19:54:45 +00:00