Dave Beazley
b3af6259e0
Modified -l option so that library files are included at the end again. The earlier
...
change broke a lot of existing code I wasn't anticipating.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-20 02:23:38 +00:00
Dave Beazley
c5bc01c898
Fixed infinite loop on enum.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 16:40:54 +00:00
Matthias Köppe
3ad0a40afb
[Guile] New command-line option "-emit-setters".
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 14:50:15 +00:00
Dave Beazley
15d36d0140
Slight tweak to enum handling and typedefs.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 03:44:03 +00:00
Dave Beazley
8c1045407b
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@856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-19 03:42:03 +00:00
Masaki Fukushima
feb39b0fd2
Many bug fixes to Ruby module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 13:32:29 +00:00
Matthias Köppe
aef09f73b8
Incorporated patch #101430 , fixing bugs in the Guile module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 09:35:36 +00:00
Dave Beazley
1117997767
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@850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 02:18:45 +00:00
Dave Beazley
754ffa9309
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@849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 01:40:45 +00:00
Dave Beazley
7e5a1db735
Fixed constant creation bug with pointers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 15:53:40 +00:00
Dave Beazley
3633dd45d6
Fixed pointer to function bug.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@825 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 02:16:17 +00:00
Dave Beazley
739be7912a
Added $typemap variable to typemaps. Feature request on mailing list.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 01:51:33 +00:00
Dave Beazley
c583dcc5f9
Took out cv=cv, items=items hack.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@822 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 00:46:02 +00:00
Dave Beazley
9db86ad87f
Took out 'self = self' hack.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-04 00:43:47 +00:00
Dave Beazley
23c5ecabd0
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@816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 21:24:13 +00:00
Dave Beazley
5821746d4d
Changes to support memberin typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 19:14:55 +00:00
Dave Beazley
1a1e64d919
Fixed bizarre seg-fault in Perl5 module (I think).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 19:04:52 +00:00
Dave Beazley
5f1b257382
Fixed seg-fault with arrays.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 18:34:54 +00:00
Masaki Fukushima
f19e6cc4df
a few bug fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 17:11:15 +00:00
Dave Beazley
ee6c5b717a
Fixed bug in default argument handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:45:30 +00:00
Dave Beazley
b59f35e2b9
New %types directive
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:26:10 +00:00
Dave Beazley
3ef3086b5a
Changed _swig_type_info to swig_type_info
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Dave Beazley
f36154139f
Removed unused tokens and other cleanup of parser/scanner
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@795 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 21:02:37 +00:00
Dave Beazley
1117988e39
Restored mzscheme
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 20:55:59 +00:00
Dave Beazley
80344f7e31
Minor cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 16:01:42 +00:00
Dave Beazley
2c58307c5e
Added new Swig_init function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 16:01:30 +00:00
Dave Beazley
236b843d44
Fixed bug with creating pointer constants.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 16:00:40 +00:00
Matthias Köppe
5723d6cee1
Fixed bugs reported by Purify.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 15:50:55 +00:00
Dave Beazley
98e094f7fd
Fixed const problem.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 01:00:38 +00:00
Dave Beazley
dfa507f6d7
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@777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 21:41:00 +00:00
Matthias Köppe
7d38dfa1ab
Handle `ltdlmod' linkage.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 21:39:21 +00:00
Dave Beazley
0b0c5ab6d7
Fixed problem with abstract base classes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:41:14 +00:00
Dave Beazley
643b40079e
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@773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:41:02 +00:00
Dave Beazley
d67ebf543e
Fixed naming generation problem for static C++ variables.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 20:11:56 +00:00
Dave Beazley
fb1e76ebcc
Fixed problem in void pointer handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 18:22:40 +00:00
Dave Beazley
6612f1e743
Fixed problem in handling of void pointers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 18:19:50 +00:00
Thien-Thi Nguyen
758b848455
Use EXIT_SUCCESS' and EXIT_FAILURE'.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 18:04:30 +00:00
Thien-Thi Nguyen
42195c4599
(SWIG_exit): Fix bug: Use exit code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 17:47:33 +00:00
Thien-Thi Nguyen
21f1620a01
Comment. No functional change.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 17:43:42 +00:00
Dave Beazley
67087e7f8a
Fixed void pointer problem.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 16:34:22 +00:00
Matthias Köppe
dbd9b844a8
Handle more than 10 args.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 12:12:40 +00:00
Matthias Köppe
865a5d0c26
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@746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 10:49:31 +00:00
Dave Beazley
299679cea4
Bug fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 04:39:35 +00:00
Dave Beazley
9623f0d127
Variable linking patches.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@744 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 04:37:53 +00:00
Dave Beazley
c252d8e4eb
Bug fixes in variable linking.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 22:37:51 +00:00
Matthias Köppe
196f66f49c
Fixed handling of char types.
...
Added support for optional arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 21:53:49 +00:00
Matthias Köppe
7095803824
Declare initialization function in runtime section.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:35:02 +00:00
Dave Beazley
a59ad4b201
Extensive bug fixes to variable linking.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:24:44 +00:00
Dave Beazley
b240e6dea8
Added Swig_string_mangle() function
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:23:58 +00:00
Matthias Köppe
7baa90abee
Fixed %init directive warning.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:18:54 +00:00