Commit graph

317 commits

Author SHA1 Message Date
Dave Beazley
08f577be7b Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 18:58:14 +00:00
Dave Beazley
1e17d49b13 Added -includeall option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 15:38:43 +00:00
Dave Beazley
056fb6c8c5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 15:38:35 +00:00
Dave Beazley
33d2e194e5 Some performance improvements.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 12:44:44 +00:00
Dave Beazley
53898d9918 Variety of improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 02:06:19 +00:00
Dave Beazley
42ce2054f9 Removed the last of the Workshop 5.0 warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 00:36:04 +00:00
Dave Beazley
315b2e8faa Eliminated Workshop5.0 warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 22:39:33 +00:00
Dave Beazley
6fddf3ae0b Fixed file/line stuff.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 22:38:46 +00:00
Dave Beazley
ae725e9727 Eliminated annoying C++ warnings for Workshop 5.0 compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 21:52:37 +00:00
Dave Beazley
eab650bbca Fixed a bug with nested conditionals in the preprocessor.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 21:27:10 +00:00
Dave Beazley
ca17835e62 Some performance improvements.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 13:13:17 +00:00
Dave Beazley
9c8b02da28 Minor fixes and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:23:47 +00:00
Dave Beazley
f53d1ac7b3 Removed warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:20:53 +00:00
Dave Beazley
6cedb80c06 Removed annoying warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:15:58 +00:00
Dave Beazley
9666f98cff *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 02:43:14 +00:00
Dave Beazley
e02d06f82d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 02:39:49 +00:00
Dave Beazley
4c44c9a16f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 02:31:26 +00:00
Dave Beazley
4dbdb87026 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@461 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 02:18:42 +00:00
Dave Beazley
a8bf264f66 Substantial cleanup. Performance optimizations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-14 22:00:46 +00:00
Harco de Hilster
c45c42c4b3 Oops. Left a debug statement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-07 10:04:55 +00:00
Harco de Hilster
0b971f4f4e Changed finalize and _delete methods. _selfown flag moved to
finalize.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-07 09:55:52 +00:00
Dave Beazley
85608e5a67 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 22:34:36 +00:00
Dave Beazley
790e26cf37 Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 22:28:42 +00:00
Dave Beazley
477ebc85f8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 18:49:29 +00:00
Dave Beazley
f5a217d613 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 18:05:49 +00:00
Dave Beazley
144f9ee2e0 Extensive cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 18:04:18 +00:00
Dave Beazley
945c7fc2e8 Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 15:53:05 +00:00
Dave Beazley
f4ab07f9b7 Test checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-06 14:33:31 +00:00
Thien-Thi Nguyen
3a9a8b4304 (SWIG_main): Add informative output when `Verbose' non-zero.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 19:06:18 +00:00
Dustin Mitchell
15f8a9ea36 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@442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 18:03:28 +00:00
Thien-Thi Nguyen
8dcfa8be65 (GUILE::create_function): Void functions now return
#<unspecified> instead of #<undefined>.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 08:57:11 +00:00
Thien-Thi Nguyen
f69c746ade (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@440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 08:11:30 +00:00
Thien-Thi Nguyen
0deaef77eb (DohGetInt, DohGetDouble): Cast args to atoi()' and atof()'
to `char *', respectively.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 08:00:51 +00:00
Thien-Thi Nguyen
250b280a50 (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@438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:59:31 +00:00
Thien-Thi Nguyen
dde5ce2326 (Preprocessor_expr_init): Use `void' arg instead of empty list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:52:57 +00:00
Thien-Thi Nguyen
e4d3669a88 (expand_macro): Do not declare global
func `Preprocessor_parse' locally!


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:52:08 +00:00
Thien-Thi Nguyen
7ae6625c0b (Preprocessor_parse): Synch decl w/ definition in cpp.c.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:49:25 +00:00
Thien-Thi Nguyen
0f2982b3ef (Preprocessor_expr_init): Declare.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 07:06:51 +00:00
Thien-Thi Nguyen
5e17967930 (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@433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 06:34:23 +00:00
Thien-Thi Nguyen
ab1e1252e4 Include ctype.h as dependency.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 06:17:02 +00:00
Thien-Thi Nguyen
7f1079a5e0 (StringType_get_tag): Fix omission bug: Cast `DohMalloc()'
return value to `char *'.


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


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-10 23:27:52 +00:00
Thien-Thi Nguyen
19cd5a3aec (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@428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-05 17:35:30 +00:00
Thien-Thi Nguyen
8831c9d7e8 (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@424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-17 15:58:36 +00:00
Dave Beazley
f60c0d540b Cleanup and memory reduction.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-16 02:50:54 +00:00
Dave Beazley
c4216cdc4d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 04:52:46 +00:00
Dave Beazley
0dced3617d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 04:39:06 +00:00
Dave Beazley
494d88aa06 Added banner.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:29:27 +00:00
Dave Beazley
461ecac467 Added include directory.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:24:17 +00:00
Dave Beazley
359fcc406b 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@418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:15:34 +00:00