Commit graph

708 commits

Author SHA1 Message Date
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
d82c78ea75 Updated section on Guile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@732 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:13:46 +00:00
Matthias Köppe
ef21a91744 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 20:13:30 +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
730afd5dff *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 16:28:16 +00:00
Dave Beazley
12999f703a New example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 16:26:58 +00:00
Matthias Köppe
887d79cae3 Use the nice type name for printing pointer objects.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:48:43 +00:00
Dave Beazley
7d4ec03048 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/SWIG@725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:14:16 +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
250bb3e289 Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 03:35:05 +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
Matthias Köppe
597c3f8ebe Updated Guile runtime code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 17:30:50 +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
Matthias Köppe
6e9849b3c8 Updated information on Guile typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@714 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 09:23:48 +00:00
Matthias Köppe
2fd0d3f570 Added configuration file for Guile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:50:34 +00:00
Matthias Köppe
a194416f9f (SWIG_config_file) Constified prototype, enabling build with Solaris c++.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:41:27 +00:00
Matthias Köppe
4bdb6c561c Added dependency to allow for parallel builds.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:40:09 +00:00
Dave Beazley
e39f8ce229 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:50:08 +00:00
Dave Beazley
1c60e6bfbe 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/SWIG@709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:46:54 +00:00
Dave Beazley
d28d1851b2 Fixed minor bug with line continuations in macros.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@708 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:14:31 +00:00
Matthias Köppe
3768eb73db 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/SWIG@707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 21:53:47 +00:00
Matthias Köppe
1dca4eca55 Fixed typemap specification syntax with strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@706 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 21:44:17 +00:00
Dave Beazley
7f9b71f6f8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@705 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 20:59:07 +00:00
Dave Beazley
7f251fc20b Changed internal handling of string literals. Added new typemap specification syntax with strings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 20:15:08 +00:00
Dave Beazley
c1ecb26ae3 New test cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 19:23:42 +00:00
Dave Beazley
048d0eb804 Added more test cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 19:14:42 +00:00
Dave Beazley
db29f1317d Added some tests for escape sequences
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@701 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 19:05:55 +00:00
Dave Beazley
7d81d564a2 Eliminated compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 19:04:39 +00:00
Dave Beazley
c1266a06fc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 12:24:47 +00:00
Dave Beazley
431a344bad 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/SWIG@698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 04:12:35 +00:00
Dave Beazley
a3f579d4cc Slight change to Cmp() function to better handle null-pointers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@697 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 04:10:53 +00:00
Matthias Köppe
f93679b839 Enabled the Guile module again.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:28:10 +00:00
Matthias Köppe
1e34234a9f Fixed declaration of SwigType_typedef_resolve and
SwigType_typedef_resolve_all.


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


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-25 17:04:53 +00:00
Matthias Köppe
17692a2ef0 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/SWIG@688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-23 20:17:10 +00:00
Matthias Köppe
cbf217707f Make typedefs for anonymous enums work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-23 20:16:28 +00:00
Dave Beazley
65c2b5acb4 Fixed namespace bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 19:37:04 +00:00