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
Thien-Thi Nguyen
d90b8e6868
(GUILE::headers): Fix conformance bug: Use the `SWIG_NOINCLUDE'
...
preprocessor symbol to indicate that SWIG runtime functions are
imported from a different module, as it is done in other
language modules.
(GUILE::initialize): Rework `SWIG_init' declaration, so that it
is globally visible only in simple linkage (the user should
rename the function by a #define in this case).
(GUILE::emit_linkage): In call to `scm_register_module_xxx',
cast 2nd arg to `void *'.
(GUILE::create_function): In conjunction w/ exception handling,
generate setting of preprocessor macro `SCHEME_NAME' at the
beginning of the function wrapper, and a corresponding undef at
the end.
(GUILE::link_variable): Fix bug: Printf the C string, not the
String class.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:44:15 +00:00
Thien-Thi Nguyen
40f4e7b461
(PARSER): Prefix w/ `$(srcdir)/'.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 08:04:53 +00:00
Dave Beazley
abf90919ed
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 22:54:26 +00:00
Dave Beazley
4f69c58d6d
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 22:48:47 +00:00
Dave Beazley
6d6243e279
Added warning message.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 22:48:42 +00:00
Dave Beazley
0b454425a4
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 21:23:07 +00:00
Dave Beazley
eb5c026373
Added SwigWrapper
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 21:22:56 +00:00
Dave Beazley
166db98dbe
Work in progress
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 04:32:11 +00:00
Dave Beazley
4c57dc5b56
Added SwigWrapper object.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 04:31:37 +00:00
Dave Beazley
c7e85821ed
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 03:59:54 +00:00
Dave Beazley
638635592b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-10 16:11:30 +00:00
Dave Beazley
0313f7aa4b
Rewrote.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-10 15:25:07 +00:00
Dave Beazley
24ea965c2e
Cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-10 15:24:43 +00:00
Thien-Thi Nguyen
b0fa80612d
Include mzscheme.h.
...
(usage): Add "-mzscheme" as another target language option.
(main): Recognize "-mzscheme".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-06 08:34:40 +00:00
Thien-Thi Nguyen
3b8800e77f
(OBJS): Add mzscheme.o.
...
(SRCS): Add mzscheme.cxx.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-06 08:30:51 +00:00
Thien-Thi Nguyen
9b441d2630
Initial revision
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-06 08:26:59 +00:00
Dave Beazley
9cfba9a811
Cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 22:47:51 +00:00
Dave Beazley
bd6fb3ab4a
Cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 22:47:11 +00:00
Dave Beazley
e247a550ca
Removed scope stuff.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 22:46:46 +00:00
Dave Beazley
6d0e918349
Various memory cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 22:46:00 +00:00
Dave Beazley
78aaa04f05
Cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 04:21:34 +00:00
Dave Beazley
b0a4d41a5f
Some memory management cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 04:21:10 +00:00
Dave Beazley
a774679eaa
Name cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 03:38:23 +00:00
Dave Beazley
1d9ab3c0cf
Name cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 03:37:37 +00:00
Dave Beazley
54faa9e540
Minor changes.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 03:19:30 +00:00
Dave Beazley
b0789c3849
Added a few alternative names for DOH objects.
...
DOHString, DOHList, DOHHash, etc...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 03:17:12 +00:00
Dave Beazley
4e3745e362
Fixed maxsize problem in string constructor.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 02:46:27 +00:00
Dave Beazley
4afe234098
Removed bool type--won't compile with some compilers (such as mine)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-04 15:16:51 +00:00
Dave Beazley
d3a396b1d1
Fixed Makefile problem
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-04 15:16:10 +00:00
Thien-Thi Nguyen
17bdafa01a
(GUILE::initialize): Fix typo introduced in last commit -- argh!
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-04 06:31:00 +00:00
Thien-Thi Nguyen
bf4537ca2f
(GUILE::GUILE): Default `linkage' is simple.
...
(GUILE::initialize): Fix bug: Use `SWIGSTATIC'
pre-processor macro to match declaration.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-04 05:45:52 +00:00
Thien-Thi Nguyen
bc65d71341
(GUILE_LSTYLE_LTDLMOD, GUILE_LSTYLE_HOBBIT): Delete these
...
pre-processor macros. These identifiers are now enum values
defined in guile.h.
(GUILE::initialize): Remove old-style cruft, no functional change.
(GUILE::emit_linkage): Now a member of class `GUILE'.
Handle `GUILE_LSTYLE_SIMPLE'.
(GUILE::close): Update call to `emit_linkage'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 15:08:30 +00:00
Thien-Thi Nguyen
90e0bc6b4d
(GUILE::linkage): This data member is now an enum, defined inline.
...
(GUILE::emit_linkage): New private member method.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 15:03:21 +00:00
Thien-Thi Nguyen
8cdbaf29d2
{Changes contributed by Matthias Koeppe}
...
(GUILE): Declare new data member `with_smobs' for this class.
Member method `get_pointer' now takes two additional args,
namely `String &proc_name' and `int num_scheme_parm'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 07:40:33 +00:00
Thien-Thi Nguyen
3286cc871a
{Changes contributed by Matthias Koeppe}
...
(guile_usage): Add blurb on `-with-smobs'.
(GUILE::GUILE): Init new data member.
(GUILE::parse_args): Recognize "-with-smobs".
(GUILE::headers): Rewrite.
(GUILE::initialize): In generated `SWIG_init', call `SWIG_Guile_Init'.
(emit_linkage): Fix omission bug: Generated func now returns a value.
(GUILE::close): Re-activate call to `emit_ptr_equivalence'.
(GUILE::get_pointer): Take two additional args: `proc_name'
and `num_scheme_parm'. Update callers.
Add handling when `with_smobs'.
Also generate exception-raising code.
(GUILE::create_function): Call `get_pointer' w/ proper args.
Add handling when `with_smobs'.
(GUILE::link_variable): Add handling when `with_smobs'.
Make generated error message more informative.
Also generate exception-raising code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 07:36:33 +00:00