Commit graph

54 commits

Author SHA1 Message Date
Dave Beazley
3c19492ef6 Removed compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 02:28:12 +00:00
Dave Beazley
c9a1a80211 Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-16 18:12:50 +00:00
Dave Beazley
3dfabddeee Moved generic type-checking code to common.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:28:21 +00:00
Harco de Hilster
2aa97936ea changed c++ string argout typemap to freearg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-14 07:20:24 +00:00
Dave Beazley
5f5f2213af Applied memory leak patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 03:17:39 +00:00
Harco de Hilster
33247d0e3c added java exception support submitted by Tal Shalif <tal@slt.atr.co.jp>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-04 08:21:20 +00:00
Harco de Hilster
c86069d4f6 added string typemaps send by Tal Shalif <tal@slt.atr.co.jp>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-04 08:20:18 +00:00
Thien-Thi Nguyen
715e3e39eb (SWIG_MakePtr, SWIG_GetPtr): Delete these declarations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 16:15:44 +00:00
Masaki Fukushima
0cedebe44f (Ruby Support): Fix some type mangle problem in Ruby library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-22 10:52:19 +00:00
Thien-Thi Nguyen
7d7fb78130 (SwigPtrType): Delete member `len' from this struct.
(SwigCacheType): Delete this struct and corresponding typedef.
(SwigStart): Delete this array.
(SWIG_CACHESIZE, SWIG_CACHEMASK): Delete these macros.
(SwigCache, SwigCacheIndex, SwigLastCache): Delete these
file-static vars.

(SWIG_RegisterMapping, SWIG_SortTable, SWIG_GetPtrType,
SWIG_Cast_Str, swigsort, swigcmp): No longer support
non-"with-smobs" handling.

(SWIG_MakePtr, SWIG_GetPtr): Delete these funcs.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 19:46:09 +00:00
Dave Beazley
e5c28c7007 Fixed memory leak in Python pointer type-checking code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 20:05:08 +00:00
Thien-Thi Nguyen
618e0eff61 Add Ruby support contributed by Masaki Fukushima.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-05 18:58:49 +00:00
Dave Beazley
e41edc6944 Fixed array deletion problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-20 16:08:06 +00:00
Dave Beazley
7242c6daf7 Applied Oleg's MzScheme patches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-19 00:29:04 +00:00
Dustin Mitchell
c2f1faa3db Added [] to array deletions -- the "more correct" way to do things in
C++.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-01 18:13:50 +00:00
Thien-Thi Nguyen
528bbe82d0 Rewrite. (Thanks to Oleg Tolmatcev.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-17 16:05:49 +00:00
Thien-Thi Nguyen
d58fac2856 Re-add INPUT/OUTPUT/BOTH typemaps (that were previously deleted).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:33:31 +00:00
Thien-Thi Nguyen
a7a9b355b9 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.  This primarily affects
the preprocessor symbol `SWIGSTATIC'.

(SWIG_init): Make this function globally visible only in simple
linkage (the user should rename the function by a #define in
this case).  In other linkages, this func is static.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:27:47 +00:00
Thien-Thi Nguyen
b14034162e (swigcmp): Fix type-access bug when using
"-with-smobs": Use `strcmp' instead of `strncmp'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:18:14 +00:00
Thien-Thi Nguyen
dfba9a8d7b Add exception support for Guile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:01:37 +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
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
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
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
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
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
Thien-Thi Nguyen
5ee62e2b24 Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 23:58:03 +00:00
Thien-Thi Nguyen
c1a67822cb Also handle `char *' for both input and output sets.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 22:49:36 +00:00
Thien-Thi Nguyen
8063d4d12e (GSWIG_scm2str): New func.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 22:49:10 +00:00
Thien-Thi Nguyen
e92482e4d9 Extend map sets so as to be able to handle varin' and varout'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 01:12:44 +00:00
Thien-Thi Nguyen
5d69851da6 Simplify; remove INPUT-, OUTPUT- and BOTH-related maps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-01 23:47:35 +00:00
Thien-Thi Nguyen
1dd1a8a5b3 Assign copyright to Matthias Koeppe.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 23:22:03 +00:00
Thien-Thi Nguyen
db8ecd0f8d Initial revision. (Thanks to Matthias Koeppe.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 13:44:14 +00:00
Thien-Thi Nguyen
8eb190cd53 (GUILE_APPEND_RESULT): New macro. (Thanks to Matthias Koeppe.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 13:43:30 +00:00
Harco de Hilster
9cb07a2409 Somehow the java dir was gone from the repository. Adding it again.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 10:59:23 +00:00
Dave Beazley
7aa677bec3 cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-16 17:46:23 +00:00
Dave Beazley
91ed177312 Fixed some compiler warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 23:19:56 +00:00
Dave Beazley
d1968e1dcb Added braces around some macros.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:48:14 +00:00
Dave Beazley
f16be96a24 Fixed minor bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:18:54 +00:00
Dave Beazley
2551be4658 Fixed runtime support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 00:58:27 +00:00
Dave Beazley
496ff40b6c Added runtime declarations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 00:40:08 +00:00
Dave Beazley
943983332b Clean up.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-08 23:53:35 +00:00
Dave Beazley
0a52977f06 Modified to use new pointer type-checker.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:27:23 +00:00
Dave Beazley
f76cedd349 Added error handling flag to ConvertPtr function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:25:55 +00:00
Dave Beazley
d9486735a0 Make the use of CObjects a conditional compilation flag.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 04:22:52 +00:00
Dave Beazley
c2dc64db51 More improvements to type-checking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 23:37:02 +00:00