Commit graph

124 commits

Author SHA1 Message Date
Thien-Thi Nguyen
758b848455 Use EXIT_SUCCESS' and EXIT_FAILURE'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 18:04:30 +00:00
Thien-Thi Nguyen
42195c4599 (SWIG_exit): Fix bug: Use exit code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@759 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 17:47:33 +00:00
Thien-Thi Nguyen
21f1620a01 Comment. No functional change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 17:43:42 +00:00
Matthias Köppe
865a5d0c26 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@746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 10:49:31 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
91ff20631b Rewrote all of the low-level C/C++ code generators. Continued destruction of old C++ code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 03:57:26 +00:00
Dave Beazley
cc46a46b6d More work on smoothing out the type system. Needs more work however.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-23 04:43:39 +00:00
Dave Beazley
22662ce490 Changed the handling of types in parameter lists and removed the %val
and %out directives.    This result of this change is that SWIG does
a lot less manipulation of types before they are given to language
modules.  It also means that a lot of stuff is going to be broken
for a short period of time.   I am working on cleaning all of this up
so give me a few days to sort it out.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 20:26:17 +00:00
Dave Beazley
f77eea732d Some API changes to DataType
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-14 21:37:34 +00:00
Dave Beazley
c780f4bcf4 Moved parms and types to C. Changed parameter API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 19:38:59 +00:00
Dave Beazley
1223733aac Cleanup. Some changes to the type interface.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 04:26:25 +00:00
Dave Beazley
5b2c0ecc1c Broke dependence between the DataType class and the Language class.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 20:17:44 +00:00
Dave Beazley
133ee98f62 Cleanup of DataType class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 19:23:43 +00:00
Dave Beazley
2259323f05 Class interface to DataType is gone.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 04:40:12 +00:00
Dave Beazley
b8387a45db Removed some warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 01:54:41 +00:00
Dave Beazley
d6aeb820ae Changed data structures related to function parameters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-11 19:42:41 +00:00