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
ccbe7d8213
Added cwrap.c file that contains a variety of wrapper function support code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 03:54:02 +00:00
Dave Beazley
6b4e71e3a4
Removed some compiler warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 03:52:15 +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
Thien-Thi Nguyen
dff513fa24
(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@585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 20:03:07 +00:00
Thien-Thi Nguyen
cd9a4606ce
(GUILE::close): Fix bug: Use "swig" for `module_name' if unset.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 19:49:28 +00:00
Thien-Thi Nguyen
96e1b52606
(DelParmList): Fix bug: Handle NULL input.
...
Thanks to Matthias Koeppe.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-17 18:29:10 +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
18d39ded19
Fixed Wrapper_new_local() function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-13 23:09:23 +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
Dave Beazley
fca258c90f
Minor changes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-11 15:04:16 +00:00
Dave Beazley
ea8496bd99
Fixed the pretty-printing code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-11 15:04:08 +00:00
Dave Beazley
210f8b7449
Fixed bug in constructor emit function.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 23:11:50 +00:00
Dave Beazley
825d46b353
Fixed problem with %name() directive.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 23:11:29 +00:00
Dave Beazley
22531698e5
Fixed problem in enum parsing.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 22:52:29 +00:00
Dave Beazley
d56f8f02f1
Fixed parsing of character constants.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 22:52:19 +00:00
Dave Beazley
b28184a0b7
Fixed Printv problem.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 22:29:52 +00:00
Dave Beazley
6242ed773b
Removed the WrapperFunction class entirely. Everything uses the C version.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 21:52:58 +00:00
Dave Beazley
e791008720
Modified the WrapperFunction class. Fixed various bugs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 16:46:18 +00:00
Dave Beazley
825f450c7a
Fixed compile problem on Solaris.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 14:34:07 +00:00
Dave Beazley
d9535328a1
C++ String class and all operator overloading removed.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 03:11:24 +00:00
Dave Beazley
f5d582988f
String class removed from Guile module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 02:33:02 +00:00
Dave Beazley
80b9a6cbcb
String class removed from the Ruby module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 01:51:29 +00:00
Dave Beazley
8b979b1643
Removed String class from mzscheme module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 22:49:38 +00:00
Dave Beazley
f4c4610522
Removed String class from Java module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 21:48:35 +00:00
Dave Beazley
03ad301392
Oops. A few other fixes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 21:47:13 +00:00
Dave Beazley
c48aeeb69b
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@545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 21:40:58 +00:00
Dave Beazley
952d137197
Fixed a few NULL termination problems.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 21:36:33 +00:00
Dave Beazley
6d681903bb
Fixed bug in string replace.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 21:24:14 +00:00
Dave Beazley
64ffd61547
Removed Strings from Python module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 19:15:25 +00:00
Dave Beazley
845e2f11b1
Removed String class from Perl5 module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 16:39:33 +00:00
Dave Beazley
e2b64d6432
Removed String class from Tcl module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@538 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 03:03:01 +00:00
Dave Beazley
966c359b2a
Removed the undocumented build typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@537 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 01:08:51 +00:00
Dave Beazley
bfab30a055
Major slash and burn. Virtually all of the 1.1 core has been divorced from the C++ String class and migrated to DOHString instead.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 01:04:29 +00:00
Thien-Thi Nguyen
40deb5d53c
(RUBY::create_function): Placate old sgi C++ compiler, which
...
can't handle "for-scope" variables by declaring an auto `i'.
This is arguably the wrong thing to do.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-07 21:43:29 +00:00
Dave Beazley
9605c1d2f6
Work in Progress
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-07 03:00:28 +00:00
Dave Beazley
54091d6733
Fixed bug in Copy().
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-07 02:59:25 +00:00
Thien-Thi Nguyen
bff6667f73
(guile_usage): Remove usage info for "-with-smobs" option.
...
(GUILE::GUILE, GUILE::parse_args): No longer set `with_smobs'.
(GUILE::get_pointer, GUILE::create_function, GUILE::link_variable):
Make `with_smobs' branch unconditional. Remove code in `!with_smobs'
branch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-06 21:51:37 +00:00
Thien-Thi Nguyen
cdcfbec00d
(GUILE::with_smobs): Delete this private data member.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@526 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-06 21:47:27 +00:00
Dave Beazley
1eeae0ffcb
Work in progress
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-06 21:23:29 +00:00
Dave Beazley
b095812824
Fixed initialization bug.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-06 15:35:35 +00:00
Dave Beazley
b3cc0723f5
More improvements to types and related code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-06 04:20:33 +00:00
Dave Beazley
8ec749cbe8
Eliminated compiler warnings and errors.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-05 21:10:49 +00:00