Commit graph

498 commits

Author SHA1 Message Date
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
Dave Beazley
23068fcf8f Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 16:29:53 +00:00
Dave Beazley
74e66964cc 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/SWIG@724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:13:28 +00:00
Masaki Fukushima
1fe2810618 '-toplevel' option obsoleted.
C++ comment removed and copyright notice added.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 14:28:57 +00:00
Matthias Köppe
a1ff4c3c10 Fixed handling of ignored args.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 11:19:46 +00:00
Matthias Köppe
74ac578ba8 File insertion now data-driven via %insert.
Using %define for multiline defines.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 08:50:06 +00:00
Matthias Köppe
b8b42a3598 (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/SWIG@720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 08:38:46 +00:00
Dave Beazley
e8fe852d9f Lot's of minor bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@718 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 03:32:41 +00:00
Dave Beazley
4f55ff51ba Slight cleanup. Test of new CVS commit message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 14:40:10 +00:00
Matthias Köppe
aeba1f7c50 New Guile command-line argument "-procdoc", specifying procedure
documentation output file.
Fixed "-Linkage" parsing.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 12:05:01 +00:00