Commit graph

316 commits

Author SHA1 Message Date
Dave Beazley
9c408044f3 Added -includeall option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 15:38:43 +00:00
Dave Beazley
a352936e89 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 15:38:35 +00:00
Dave Beazley
096fa28723 Some performance improvements.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 12:44:44 +00:00
Dave Beazley
b7d148f636 Variety of improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 02:06:19 +00:00
Dave Beazley
d8dc41c0e7 Removed the last of the Workshop 5.0 warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 00:36:04 +00:00
Dave Beazley
2bff7e2491 Eliminated Workshop5.0 warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 22:39:33 +00:00
Dave Beazley
df442c12e5 Fixed file/line stuff.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 22:38:46 +00:00
Dave Beazley
1819ba7bda Eliminated annoying C++ warnings for Workshop 5.0 compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 21:52:37 +00:00
Dave Beazley
7c336aaa91 Fixed a bug with nested conditionals in the preprocessor.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 21:27:10 +00:00
Dave Beazley
433938e2bf Some performance improvements.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 13:13:17 +00:00
Dave Beazley
64ddf38c9a Minor fixes and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:23:47 +00:00
Dave Beazley
1d28f29584 Removed warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:20:53 +00:00
Dave Beazley
91f29912f9 Removed annoying warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:15:58 +00:00
Dave Beazley
b4edd518b4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 02:43:14 +00:00
Dave Beazley
a8ab72ebab *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 02:39:49 +00:00
Dave Beazley
97bc8b32da *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 02:31:26 +00:00
Dave Beazley
4043e7ad07 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 02:18:42 +00:00
Dave Beazley
2750f23385 Substantial cleanup. Performance optimizations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-14 22:00:46 +00:00
Harco de Hilster
0d453e74ce Oops. Left a debug statement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-07 10:04:55 +00:00
Harco de Hilster
a62e154097 Changed finalize and _delete methods. _selfown flag moved to
finalize.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-07 09:55:52 +00:00
Dave Beazley
00c8c8f7ac *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 22:34:36 +00:00
Dave Beazley
d14bc4e100 Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 22:28:42 +00:00
Dave Beazley
26d340bb95 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 18:49:29 +00:00
Dave Beazley
a2c6df383f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 18:05:49 +00:00
Dave Beazley
2a1fc5ca87 Extensive cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 18:04:18 +00:00
Dave Beazley
7b03566fdd Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 15:53:05 +00:00
Dave Beazley
3daac96b9b Test checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 14:33:31 +00:00
Thien-Thi Nguyen
33ed353b15 (SWIG_main): Add informative output when `Verbose' non-zero.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 19:06:18 +00:00
Dustin Mitchell
5eb27e2b74 Changed to catch up with new DOH version (removed scopes), and fixed a few
compiler warnings about unused variables.  Conflicts with ttn's modifications
were resolved in my favor.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 18:03:28 +00:00
Thien-Thi Nguyen
0b470032b5 (GUILE::create_function): Void functions now return
#<unspecified> instead of #<undefined>.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 08:57:11 +00:00
Thien-Thi Nguyen
db9b55ba52 (Super_scope): Replace call to non-existent(?) `Setscope'
w/ a fprintf to stderr warning of `Super_scope' damage.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 08:11:30 +00:00
Thien-Thi Nguyen
293e97b754 (DohGetInt, DohGetDouble): Cast args to atoi()' and atof()'
to `char *', respectively.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 08:00:51 +00:00
Thien-Thi Nguyen
003eda59a7 (find_key): First arg now has type `DOH *' to match callers.
Internally, this is immediately converted to `char *'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:59:31 +00:00
Thien-Thi Nguyen
5b0dee81ee (Preprocessor_expr_init): Use `void' arg instead of empty list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:52:57 +00:00
Thien-Thi Nguyen
ce925b3f33 (expand_macro): Do not declare global
func `Preprocessor_parse' locally!


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:52:08 +00:00
Thien-Thi Nguyen
988de68dcd (Preprocessor_parse): Synch decl w/ definition in cpp.c.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:49:25 +00:00
Thien-Thi Nguyen
ed7531b959 (Preprocessor_expr_init): Declare.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:06:51 +00:00
Thien-Thi Nguyen
cdb9a63614 (DohObjInfo): Rename struct member doh_reserved' to be doh_scope'
and make its signature match those in this slot in super.c and types.c.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 06:34:23 +00:00
Thien-Thi Nguyen
f55be8b52f Include ctype.h as dependency.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 06:17:02 +00:00
Thien-Thi Nguyen
ea61f85774 (StringType_get_tag): Fix omission bug: Cast `DohMalloc()'
return value to `char *'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 06:16:37 +00:00
Thien-Thi Nguyen
5d7040d7cb (GUILE::link_variable): Fix omission bug: Handle generated
local vars when `with_smobs'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-10 23:27:52 +00:00
Thien-Thi Nguyen
4711cdada1 (GUILE::create_function): Silence compiler warnings: Delete
unused local vars `need_len' and `need_tempc'.  Also, only
generate `_len' and `_tempc' when not `with_smobs'.  (Thanks to
Matthias Koeppe.)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-05 17:35:30 +00:00
Thien-Thi Nguyen
d2ee5dc7ad (MZSCHEME::headers): Cleanup.
(MZSCHEME::get_pointer): Rewrite.

(MZSCHEME::create_function): Declare local var `_len' after `_tempc'.
Check `argout_set' before generating `scheme_void' return value.
Use `swig_make_c_pointer' for pointers.
Generated local var `_values' is now an array of pointers.

(MZSCHEME::link_variable): Rewrite using `swig_get_c_pointer'
and `swig_make_c_pointer'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-17 15:58:36 +00:00
Dave Beazley
021dc7913e Cleanup and memory reduction.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-16 02:50:54 +00:00
Dave Beazley
4e99f5be45 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 04:52:46 +00:00
Dave Beazley
4e05324890 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 04:39:06 +00:00
Dave Beazley
367bf346a0 Added banner.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:29:27 +00:00
Dave Beazley
88b7a1908c Added include directory.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:24:17 +00:00
Dave Beazley
e5b51a27b5 A few minor tweaks to file behavior. Strings should use a little less memory too.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:15:34 +00:00
Thien-Thi Nguyen
c4605854d5 (String &operator<<, String &operator>>): Declare source
argument const for these funcs to silence compiler warnings.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:48:41 +00:00