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
Matthias Köppe
f25bebd64f
Added documentation for variable and constant wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 19:54:45 +00:00
Dave Beazley
b39499ff2e
Bug fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 16:29:53 +00:00
Dave Beazley
f43bb6bf71
Modified to include a nice typename as part of the _swig_type_info structure.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:13:28 +00:00
Masaki Fukushima
c5d1168781
'-toplevel' option obsoleted.
...
C++ comment removed and copyright notice added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 14:28:57 +00:00
Matthias Köppe
7b9c22a923
Fixed handling of ignored args.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 11:19:46 +00:00
Matthias Köppe
f20b30ec95
File insertion now data-driven via %insert.
...
Using %define for multiline defines.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 08:50:06 +00:00
Matthias Köppe
96ab0c8fe2
(SwigType_str, SwigType_lstr, SwigType_rcaststr, SwigType_lcaststr)
...
Constified prototypes, enabling build with Solaris c++.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 08:38:46 +00:00
Dave Beazley
459759611c
Lot's of minor bug fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 03:32:41 +00:00