Commit graph

19,271 commits

Author SHA1 Message Date
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
b050f09125 (SWIG_init): New func decl.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
727742f4bc Initial revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
96eb037c60 (Guile Support Internals): New h2, numbered 10.
Push "Miscellaneous" to 11.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
2586b50825 Initial revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
0b36fa3b37 (AC_OUTPUT): Add Examples/guile/Makefile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
cc2eba5af2 Initial revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
f33eaf4e4f Delete fixme comment.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
3201944c40 (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@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
1835caf6a0 (4/02/00): Expand entry; mention "-with-smobs".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
992ea555c3 New entry.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
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
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
96e56f9f99 {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@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
ff67e9a068 {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@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
0d37d85d0a {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@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
b8d6b7bb32 {Contributed by Matthias Koeppe}
Initial revision.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
e8182202b3 {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@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
b990aba9a1 (NewString): Take DOH *' instead of char *'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
Thien-Thi Nguyen
9e723892b0 (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@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
ce13fcd88a Fixed bizarre parsing problem related to typenames.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
0d3b41b8f6 Minor fixes needed to support pointer.i library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
e9240d69cf Updated to compile with new type-checking implementation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
Dave Beazley
3d2677bf51 Fixed bool handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
Ian Cooke
5a483c611f Added target 'Swithe'. Expat now builds.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@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
Dustin Mitchell
cb6ea1b83d 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@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
7ecba53a9b Modified to use StringType functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:59:50 +00:00