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
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
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
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
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
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
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
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
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
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
b3c17a0a3d
Changed string output of hash tables.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 14:57:09 +00:00
Dave Beazley
10b7f501d6
Minor fixes to %apply.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 02:16:50 +00:00
Dave Beazley
fa2942e77c
Completely new type implementation. Almost everything broken. Typemaps sort of work. Tcl is the only working language module. More changes to follow over the next few days.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-14 22:09:56 +00:00
Dave Beazley
84f5185008
Added reference count assertion to Delete
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-14 22:05:14 +00:00
Masaki Fukushima
a16e3deec3
swig no longer generates delete_* function when no addmethods mode.
...
Deal with it.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-13 13:45:41 +00:00
Dave Beazley
d209bc3b70
Various work on new type system
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-11 20:48:58 +00:00
Dave Beazley
ef5e8a5b09
SWIG no longer generates temporary files.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-11 16:34:31 +00:00
Dave Beazley
8c86432317
Some cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 21:25:28 +00:00
Dave Beazley
5a477eef50
Converted parameter lists to linked lists
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 18:37:30 +00:00
Dave Beazley
de907d61fe
Fixed addmethods bug.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 13:02:18 +00:00
Dave Beazley
8a5b42500d
Minor changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 00:12:49 +00:00
Dave Beazley
dc227f4835
Bug fix for const.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 00:12:27 +00:00
Dave Beazley
25c383afeb
Experimental parameter matching code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 00:12:16 +00:00
Dave Beazley
4bee475113
Removed SWIG1.3 directory from includes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-09 14:57:00 +00:00
Dave Beazley
37f3093da0
Fixed typemap bug.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-08 19:10:51 +00:00
Dave Beazley
27eee69dbd
Various cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-07 21:18:24 +00:00
Dave Beazley
34bcab20dd
More cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-07 02:35:36 +00:00
Dave Beazley
c738c6c639
Finished removal of all public attributes of types.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-06 16:36:43 +00:00
Dave Beazley
f244b7cde8
Hid the name and is_reference attributes of types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-06 04:01:14 +00:00
Harco de Hilster
a95105eb65
added swig version info in code header
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-04 08:32:39 +00:00
Harco de Hilster
b0b6b11b90
fix some previous merge errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-03 09:34:40 +00:00
Harco de Hilster
140a5c022c
merged cvs version with working version
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-03 09:04:53 +00:00
Dave Beazley
4230cc4162
Started the (most painful) process of dropping type attributes behind a function call interface.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-25 04:02:31 +00:00
Dave Beazley
65b75c5bec
Cosmetic changes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 22:34:02 +00:00
Dave Beazley
057f317046
Removed C++ comments.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 22:12:20 +00:00
Dave Beazley
6bc7b11a9b
Cleanup. Replaced Parm and ParmList data structures with new implementation.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 21:48:56 +00:00
Dave Beazley
89c389114f
Fixed argument mismatch error.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 14:48:08 +00:00
Dave Beazley
fbb026037d
Cleanup and a variety of changes related to new core.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 04:01:26 +00:00