Commit graph

390 commits

Author SHA1 Message Date
Thien-Thi Nguyen
79afb1640b New entry.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-06 08:46:48 +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
dc0d648dec (mzscheme): New target.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-06 08:32:12 +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
15b8f15397 (install-lib): Add MzScheme handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-06 08:28:56 +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
210439c397 Add missing </ul> tag.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-04 10:16:07 +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
5cd7421c90 (install-lib): In dir Lib, do not use "*.swg" wildcard since
there are no longer any such files there.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 22:22:02 +00:00
Thien-Thi Nguyen
2798ba0983 bye bye
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 22:09:54 +00:00
Thien-Thi Nguyen
2d601c59b4 (Guile Support Internals): Expand Smobs section w/ explanation
contributed by Matthias Koeppe.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 21:59:31 +00:00
Thien-Thi Nguyen
58225bfe46 New entry.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 15:36:56 +00:00
Thien-Thi Nguyen
1b53fb1a12 (Guile Support Internals): Add section on smobs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 15:28:00 +00:00
Thien-Thi Nguyen
e3500593e7 (inner_main): Do not declare `SWIG_init()'.
This has been moved to guiledec.swg.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 15:11:57 +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
ce7f12c699 (SWIG_init): New func decl.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 14:59:33 +00:00
Thien-Thi Nguyen
6ca566dee0 Initial revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 14:55:20 +00:00
Thien-Thi Nguyen
b016737462 (Guile Support Internals): New h2, numbered 10.
Push "Miscellaneous" to 11.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 14:38:30 +00:00
Thien-Thi Nguyen
e0e54b762a Initial revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 14:28:59 +00:00
Thien-Thi Nguyen
f8ce6dc9ce (AC_OUTPUT): Add Examples/guile/Makefile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 14:17:00 +00:00
Thien-Thi Nguyen
6fd6a2a1bc Initial revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 14:13:50 +00:00
Thien-Thi Nguyen
f89485721e Delete fixme comment.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 10:25:50 +00:00
Thien-Thi Nguyen
3ae66c24ef (libtool_comp, libtool_link): New vars.
(GUILE_INCLUDE, GUILE_LIB, GUILE_LIBOPTS): New vars.

(guile-hobbit, guile, guile_cpp, guile_static,
guile_static_cpp): New targets.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 08:37:36 +00:00
Thien-Thi Nguyen
68e546db91 (4/02/00): Expand entry; mention "-with-smobs".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 08:18:01 +00:00
Thien-Thi Nguyen
464c4729c9 New entry.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 07:46:33 +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
Thien-Thi Nguyen
cf1c8e097f {Changes contributed by Matthias Koeppe}
(SwigPtrType, SwigCacheType): Define these structs.

(SwigPtrMax, SwigPtrN, SwigPtrSort, SwigStart, SwigPtrList,
SwigPtrTbl, SwigCache, SwigCacheIndex, SwigLastCache,
swig_tag): New static vars.

(swigsort, swigcmp, SWIG_RegisterMapping, SWIG_MakePtr, SWIG_SortTable,
SWIG_GetPtrType, SWIG_Cast_Str, SWIG_GetPtr, SWIG_Guile_MakePtr,
SWIG_Guile_MakePtr_Str, SWIG_Guile_GetPtr_str, SWIG_Guile_GetPtr,
print_swig, equalp_swig, SWIG_Guile_Init): New static funcs.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 07:24:47 +00:00
Thien-Thi Nguyen
d9087e62c6 {Changes contributed by Matthias Koeppe}
(SwigPtrType): Add member `tag' to this struct.

(SwigPtrTable): Add one level of indirection.

(swigsort, swigcmp, SWIG_RegisterMapping): Accomodate new `SwigPtrTable'.

(SWIG_SortTable, SWIG_GetPtrType, SWIG_Cast_Str): New funcs.

(SWIG_GetPtr): Rewrite.

(swig_tag): New static var, #ifdef `SWIGGUILE'.

(SWIG_Guile_MakePtr, SWIG_Guile_GetPtr, SWIG_Guile_MakePtr_Str,
SWIG_Guile_GetPtr_Str): New static funcs, #ifdef `SWIGGUILE'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 07:17:36 +00:00
Thien-Thi Nguyen
ac55828e34 {Contributed by Matthias Koeppe}
Initial revision.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 07:05:24 +00:00
Thien-Thi Nguyen
623103d75d {Changes contributed by Martin Froehlich}
Add copyright.

Include libguile.h.

Include libguile/gdb_interface.h, after defining `GDB_TYPE'.
Expand pre-processor macro `GDB_INTERFACE'.

(inner_main): Renamed from `guile_main', rewritten.

(main): Rewritten.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 06:16:52 +00:00
Thien-Thi Nguyen
e618e1c5bf (NewString): Take DOH *' instead of char *'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-31 00:59:40 +00:00
Thien-Thi Nguyen
d5ce3c44af (NewString, String_check, List_check, Hash_check): For these function
declarations, constify arg to match ../DOH/Include/doh.h.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-31 00:57:18 +00:00
Dave Beazley
3a3f006de7 Fixed bizarre parsing problem related to typenames.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-21 05:52:59 +00:00
Dave Beazley
11b192af09 Minor fixes needed to support pointer.i library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-19 04:40:04 +00:00