Commit graph

398 commits

Author SHA1 Message Date
Dave Beazley
e35d1e417f Fixed typemap bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-08 19:10:51 +00:00
Dave Beazley
574ef19b96 Various cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-07 21:18:24 +00:00
Dave Beazley
0394dcca49 More cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-07 02:35:36 +00:00
Dave Beazley
01c0c668a3 Finished removal of all public attributes of types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-06 16:36:43 +00:00
Dave Beazley
7f24ebca9a Hid the name and is_reference attributes of types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-06 04:01:14 +00:00
Harco de Hilster
901ec2ec40 added swig version info in code header
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-04 08:32:39 +00:00
Harco de Hilster
8c8a4b5f2b fix some previous merge errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@612 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-03 09:34:40 +00:00
Harco de Hilster
0cd4c865e9 merged cvs version with working version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-03 09:04:53 +00:00
Dave Beazley
5c7d202825 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/SWIG@609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-25 04:02:31 +00:00
Dave Beazley
f671901138 Cosmetic changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@608 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 22:34:02 +00:00
Dave Beazley
b0d2c80259 Removed C++ comments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 22:12:20 +00:00
Dave Beazley
e036e895d3 Cleanup. Replaced Parm and ParmList data structures with new implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 21:48:56 +00:00
Dave Beazley
057bb8441b Fixed argument mismatch error.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 14:48:08 +00:00
Dave Beazley
6780bd2e49 Cleanup and a variety of changes related to new core.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 04:01:26 +00:00
Dave Beazley
a4982dcc87 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/SWIG@601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 03:57:26 +00:00
Dave Beazley
eeadf99e34 Added cwrap.c file that contains a variety of wrapper function support code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 03:54:02 +00:00
Dave Beazley
a99de50b8d Removed some compiler warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 03:52:15 +00:00
Dave Beazley
9bb0ec4a19 More work on smoothing out the type system. Needs more work however.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-23 04:43:39 +00:00
Dave Beazley
8a7d0af5ad 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/SWIG@588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 20:26:17 +00:00
Thien-Thi Nguyen
055750c085 (GUILE::parse_args): Recognize "-with-smobs" again, but don't do
any side effects.  This will go away again later, permananently.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 20:03:07 +00:00
Thien-Thi Nguyen
6e4e6f3598 (GUILE::close): Fix bug: Use "swig" for `module_name' if unset.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 19:49:28 +00:00
Thien-Thi Nguyen
3233009c09 (DelParmList): Fix bug: Handle NULL input.
Thanks to Matthias Koeppe.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-17 18:29:10 +00:00
Dave Beazley
307207ea64 Some API changes to DataType
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-14 21:37:34 +00:00
Dave Beazley
5f8ffd5c5d Fixed Wrapper_new_local() function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 23:09:23 +00:00
Dave Beazley
97d9d53f1b Moved parms and types to C. Changed parameter API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 19:38:59 +00:00
Dave Beazley
0d0978675d Cleanup. Some changes to the type interface.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 04:26:25 +00:00
Dave Beazley
99504189ce Broke dependence between the DataType class and the Language class.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 20:17:44 +00:00
Dave Beazley
9053ebe332 Cleanup of DataType class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 19:23:43 +00:00
Dave Beazley
20fa159d56 Class interface to DataType is gone.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 04:40:12 +00:00
Dave Beazley
45a987a0ba Removed some warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 01:54:41 +00:00
Dave Beazley
4756fefcef Changed data structures related to function parameters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-11 19:42:41 +00:00
Dave Beazley
452477d12c Minor changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-11 15:04:16 +00:00
Dave Beazley
c2b76fb375 Fixed the pretty-printing code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-11 15:04:08 +00:00
Dave Beazley
b0ad291f1c Fixed bug in constructor emit function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 23:11:50 +00:00
Dave Beazley
9ebd4f7c98 Fixed problem with %name() directive.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 23:11:29 +00:00
Dave Beazley
e1e0136fa3 Fixed problem in enum parsing.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 22:52:29 +00:00
Dave Beazley
3c8a864d06 Fixed parsing of character constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 22:52:19 +00:00
Dave Beazley
f89a4851bd Fixed Printv problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 22:29:52 +00:00
Dave Beazley
f50c94d933 Removed the WrapperFunction class entirely. Everything uses the C version.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 21:52:58 +00:00
Dave Beazley
64e2755215 Modified the WrapperFunction class. Fixed various bugs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 16:46:18 +00:00
Dave Beazley
ddbe3d7361 Fixed compile problem on Solaris.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 14:34:07 +00:00
Dave Beazley
d36c48a9c1 C++ String class and all operator overloading removed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 03:11:24 +00:00
Dave Beazley
323a97a9c7 String class removed from Guile module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 02:33:02 +00:00
Dave Beazley
467b35b692 String class removed from the Ruby module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 01:51:29 +00:00
Dave Beazley
2fdb586e00 Removed String class from mzscheme module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 22:49:38 +00:00
Dave Beazley
e807fc88e7 Removed String class from Java module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 21:48:35 +00:00
Dave Beazley
4ec9a206b5 Oops. A few other fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 21:47:13 +00:00
Dave Beazley
94c198e257 Fixed problem in Preprocessor_define() when called with string literals.
(This is what was causing the SWIG symbol to disappear).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 21:40:58 +00:00
Dave Beazley
f9fbddcc05 Fixed a few NULL termination problems.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 21:36:33 +00:00
Dave Beazley
8f0e034cf2 Fixed bug in string replace.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 21:24:14 +00:00