Commit graph

370 commits

Author SHA1 Message Date
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
Dave Beazley
350fdd0b2b Updated to compile with new type-checking implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-19 04:39:36 +00:00
Dave Beazley
057fbc7d83 Fixed bool handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-19 03:16:54 +00:00
Ian Cooke
a624768d95 Added target 'Swithe'. Expat now builds.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-17 03:24:16 +00:00
Dustin Mitchell
87cf7e1732 Cleaned up code to convert to/from the string representation; improved
string representation sufficiently that it now represents cleanly
everything that the DOH object representation can.  Comparison on DOH type
objects now tests only for complete equivalence of form, and should match
string comparison of string representations.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-16 02:53:57 +00:00
Dave Beazley
5a7d55c065 Modified to use StringType functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:59:50 +00:00
Dave Beazley
d6c4c39b26 Renamed string type encoding functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:58:52 +00:00
Dave Beazley
35d28e7517 Renamed to StringType functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:58:25 +00:00
Dave Beazley
89a7c985d8 Renamed my (bogus) string-based type encoding functions to
"StringType_<blah>" to avoid confusion with functions that operate on real types.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:57:47 +00:00
Dustin Mitchell
cad037143c Added code to suck up a Dave-Type-String and create a real type from it.
Should mostly work, probably needs some minor debuggering.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-14 23:17:48 +00:00
Dave Beazley
a8529d54f7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-13 17:41:14 +00:00
Dave Beazley
a49f8fef5f Added purify patches reported by Ram Bhamidipaty
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-13 17:25:53 +00:00
Dave Beazley
121ef2a1a6 Bumped version number
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-13 17:25:11 +00:00
Ian Cooke
b01791f43e Added Source/Swithe/Makefile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-09 22:17:09 +00:00
Harco de Hilster
75f7e7b2ce added a typemap example for java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-06 11:56:10 +00:00
Harco de Hilster
94119a92bb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-06 10:15:38 +00:00
Harco de Hilster
1594189ea9 String x = "";, dumps core now in the destructor, changed to String x;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 18:07:28 +00:00
Harco de Hilster
c28fa00d6a added java support in the GIFPlot example
some minor changes where needed in the interface file


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 18:05:55 +00:00
Harco de Hilster
85819c812c added example of mixing hand written jni code with swig
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 18:03:27 +00:00
Harco de Hilster
cd8438bb71 added configure support for java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 15:36:29 +00:00
Thien-Thi Nguyen
b6198ffe09 (emit_linkage): Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 07:08:07 +00:00