Commit graph

728 commits

Author SHA1 Message Date
Dave Beazley
d47e6a185c New example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:31:30 +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
c3033ad297 Updated section on Guile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:13:46 +00:00
Matthias Köppe
592ef8b772 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:13:30 +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
0cc2e58a9d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 16:28:16 +00:00
Dave Beazley
41d131351b New example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 16:26:58 +00:00
Matthias Köppe
4dfc13e434 Use the nice type name for printing pointer objects.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:48:43 +00:00
Dave Beazley
c1956bf1fc Added 'str' member to the _swig_type_info structure. This contains a "nice"
string representation of the mangled datatype.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:14:16 +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
c277bae1a2 Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 03:35:05 +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
Matthias Köppe
f80ed2b3c9 Updated Guile runtime code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 17:30:50 +00:00
Dave Beazley
2cc3ddb79d Slight cleanup. Test of new CVS commit message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 14:40:10 +00:00
Matthias Köppe
006146b8f0 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@715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 12:05:01 +00:00
Matthias Köppe
d95dc2d088 Updated information on Guile typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 09:23:48 +00:00
Matthias Köppe
0d31aa7163 Added configuration file for Guile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:50:34 +00:00
Matthias Köppe
42729844ef (SWIG_config_file) Constified prototype, enabling build with Solaris c++.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:41:27 +00:00
Matthias Köppe
f6d5f68aed Added dependency to allow for parallel builds.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:40:09 +00:00
Dave Beazley
cb520e0f2d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:50:08 +00:00
Dave Beazley
b2e1d63628 Made it so language modules can specify a file to process before anything else (for typemaps). Also fixed line-numbering problem in main.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:46:54 +00:00
Dave Beazley
bd4192fc85 Fixed minor bug with line continuations in macros.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:14:31 +00:00
Matthias Köppe
a227b419fe Major clean up in the Guile module.
Started new typemap-based procedure documentation system.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 21:53:47 +00:00
Matthias Köppe
14fb2af077 Fixed typemap specification syntax with strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 21:44:17 +00:00
Dave Beazley
5093edc8de *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 20:59:07 +00:00
Dave Beazley
b746069e7d Changed internal handling of string literals. Added new typemap specification syntax with strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 20:15:08 +00:00
Dave Beazley
108fd6f5b6 New test cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 19:23:42 +00:00
Dave Beazley
9029366385 Added more test cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 19:14:42 +00:00
Dave Beazley
0d5a00d1c5 Added some tests for escape sequences
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 19:05:55 +00:00
Dave Beazley
da14e17b54 Eliminated compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 19:04:39 +00:00
Dave Beazley
61ee7245d0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 12:24:47 +00:00
Dave Beazley
1459d38a19 Modified to follow typedefs when resolving typemaps. Slight modifications
to typemap registration code to make %apply directive work better.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 04:12:35 +00:00
Dave Beazley
b4fe86b884 Slight change to Cmp() function to better handle null-pointers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@697 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 04:10:53 +00:00
Matthias Köppe
64a5de3bf7 Enabled the Guile module again.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:28:10 +00:00
Matthias Köppe
73ef2e5574 Fixed declaration of SwigType_typedef_resolve and
SwigType_typedef_resolve_all.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:27:15 +00:00
Matthias Köppe
0203a7da5d Include library (`-l') files at the beginning, rather than at the end.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@694 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:25:54 +00:00
Matthias Köppe
130df734cb Updated Guile module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@693 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:24:22 +00:00
Matthias Köppe
93004550bc New typemaps for ANSI C size_t' and ptrdiff_t' types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:23:17 +00:00
Matthias Köppe
42ad18d498 Fixed last change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:22:41 +00:00
Masaki Fukushima
a116b4b292 Ruby module changed to use pointer object instead of mangled string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 15:43:59 +00:00
Thien-Thi Nguyen
7b3768252b Add Matthias Koeppe as a guilty party.
Update ttn role.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-25 17:04:53 +00:00
Matthias Köppe
0ebf3b7caa The pretty printer gets confused by comments including unbalanced
single or double quotes, like in this interface file:

-------------
%typemap(perl5, check) size_t *SIZE_T_VECTORINOUT
{
    /* NEXT LINE AND REST OF WRAPPER WILL BE MISSING. */
    /* Do nothing (don't check for NULL pointer) */
}

void x(size_t *SIZE_T_VECTORINOUT);
-------------

The code tries to find the end of the character/string constant. When
it reaches EOF, nothing will get emitted because no \n is seen.

This is a change to emit the last line of a string. But the pretty
printer probably should be fixed to handle comments.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-23 20:17:10 +00:00
Matthias Köppe
da71635b16 Make typedefs for anonymous enums work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-23 20:16:28 +00:00