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
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
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
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
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
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
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
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
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
Thien-Thi Nguyen
4d989f6796
Add Ruby support contributed by Masaki Fukushima.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-05 18:58:49 +00:00
Thien-Thi Nguyen
5f3ebf6743
(GUILE::create_function): Warn to stderr for and do not wrap
...
functions with more than ten arguments.
Thanks to Matthias Koeppe.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-28 23:01:00 +00:00
Dave Beazley
1368c716af
Replaced the C++ String class with a wrapper around DOHString. Eliminated
...
the automatic conversion of String --> char * at the risk of breaking the
universe (although I think I have fixed everything). This change made the wrapper
modules a lot more ugly, but it's now a lot more obvious as to what is a
String and what is a char * which will be useful when I get around to patching
up all of the interfaces and objects.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-28 03:32:58 +00:00
Dave Beazley
3b7c3f299c
Applied Oleg's MzScheme patches
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-19 00:29:04 +00:00
Dave Beazley
4068ffc0f9
Lot's of cleanup. Removed some more source files. Migrated more functionality to C.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 20:34:21 +00:00
Dave Beazley
8c43af19b2
Minor bugs with last checkin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 17:08:45 +00:00
Dave Beazley
4c655e9282
Cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 16:24:55 +00:00
Dave Beazley
9fa991b0c2
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 19:32:14 +00:00
Dave Beazley
169ba5ba95
Disabled the optimized shadow classes by default.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 19:32:01 +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
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
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
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
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
Thien-Thi Nguyen
4dd74fc283
(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@415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:44:15 +00:00
Thien-Thi Nguyen
57606bf177
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@396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-06 08:34:40 +00:00
Thien-Thi Nguyen
88c75fc1eb
(OBJS): Add mzscheme.o.
...
(SRCS): Add mzscheme.cxx.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-06 08:30:51 +00:00
Thien-Thi Nguyen
8d704fbc0f
Initial revision
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-06 08:26:59 +00:00
Dave Beazley
79b5a43c80
Removed bool type--won't compile with some compilers (such as mine)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-04 15:16:51 +00:00
Thien-Thi Nguyen
310eb81bbd
(GUILE::initialize): Fix typo introduced in last commit -- argh!
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-04 06:31:00 +00:00
Thien-Thi Nguyen
40ff19361f
(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@376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-04 05:45:52 +00:00
Thien-Thi Nguyen
b40f21b0ef
(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@369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 15:08:30 +00:00
Thien-Thi Nguyen
a20aad673e
(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@368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 15:03:21 +00:00
Thien-Thi Nguyen
a3b6cf78e6
{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@357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 07:40:33 +00:00