Commit graph

1,445 commits

Author SHA1 Message Date
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
Dave Beazley
32326f4b5e Fixed namespace bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@686 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 19:37:04 +00:00
Thien-Thi Nguyen
5a7dbcbb82 (_swig_type_info): New struct typedef.
(_swig_types_initial): New pre-processor macro.
(SWIG_Guile_RegisterTypes): New func decl.
(SWIG_Guile_Init, SWIG_Guile_GetPtr_Str): No longer declare.
(SWIG_Guile_GetPtr, SWIG_Guile_MakePtr): Take `_swig_type_info'
instead of obsolete `SwigPtrType'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 17:03:56 +00:00
Masaki Fukushima
a68bf13ae4 Ruby module replaced DataType with SwigType
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@684 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 13:46:52 +00:00
Harco de Hilster
b05126e3dc added wstring typemap. contributed by:
Wenyue Yu <wenyue@stud.ntnu.no>
         tal@slt.atr.co.jp


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 11:06:27 +00:00
Dave Beazley
1f6f0e0074 Fixed typemap argument problem with references.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-20 01:25:39 +00:00
Dave Beazley
abfdf2844d Fixed default value problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@681 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-20 01:23:45 +00:00
Dave Beazley
99721047c2 Fixed const problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-20 00:30:49 +00:00
Dave Beazley
0ca0e356a3 Fixed problem with reference return types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@679 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-19 22:17:46 +00:00
Dave Beazley
d7595ac9a9 Fixed compilation problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-19 14:20:27 +00:00
Dave Beazley
2e0ddb2cb4 new example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 20:14:13 +00:00
Dave Beazley
9e68d28c9f Added SWIG_MakePtr() and made other fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 20:12:17 +00:00
Dave Beazley
4d1377fb5e Minor bug fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 20:11:52 +00:00
Dave Beazley
56ae93876e Got shadow classes partially working. Still more work and cleanup to go.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 20:11:40 +00:00
Dave Beazley
c7f9991461 Added missing return type to pointer conversion function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@673 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:44:10 +00:00
Dave Beazley
cbf9d44696 Fixed weird enum type-handling problem (maybe).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:36:43 +00:00
Dave Beazley
f15e9b912b Fixed problem with SWIGTYPE_.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 19:25:10 +00:00
Dave Beazley
d618d3cd72 More cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 13:54:52 +00:00
Dave Beazley
e295e35f5c Perl5 changes. Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 21:14:33 +00:00
Dave Beazley
fad1c73e97 Resurrected Perl5. Needs more work though
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 21:14:10 +00:00
Dave Beazley
6cedd5b450 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 05:17:18 +00:00
Dave Beazley
3f37a8fd6f Lots of cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 05:08:26 +00:00
Dave Beazley
16568f9aa0 Removed compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 02:28:12 +00:00
Dave Beazley
cbe8508865 Restored the Python module. Lots of minor fixes and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-16 21:47:36 +00:00
Dave Beazley
9a82fd7b0c Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-16 18:12:50 +00:00
Dave Beazley
dc90fff355 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-16 18:03:05 +00:00
Dave Beazley
c17ad6d71d Bug fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:29:46 +00:00
Dave Beazley
5a8e736ee5 Type-checking changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:29:07 +00:00
Dave Beazley
3e6fdf7563 Moved generic type-checking code to common.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:28:21 +00:00
Dave Beazley
d73f59b6fc Added *.swg files back to library install.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:22:51 +00:00
Dustin Mitchell
fb3c3cc457 Added RPM spec file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 20:33:54 +00:00
Dave Beazley
a4a8fd9d05 added migrate.txt
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 20:20:05 +00:00
Dave Beazley
b99e4ee2a8 Eliminated old typemap/except code. Variety of minor bug fixes throughout.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 18:29:23 +00:00
Dave Beazley
8bc6329110 Described changes in typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 18:24:16 +00:00