Commit graph

40 commits

Author SHA1 Message Date
Dustin Mitchell
2468f84aea Added [] to array deletions -- the "more correct" way to do things in
C++.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-01 18:13:50 +00:00
Thien-Thi Nguyen
985f39eed1 Rewrite. (Thanks to Oleg Tolmatcev.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-17 16:05:49 +00:00
Thien-Thi Nguyen
dac03b655d Re-add INPUT/OUTPUT/BOTH typemaps (that were previously deleted).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:33:31 +00:00
Thien-Thi Nguyen
f108197c61 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@413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:27:47 +00:00
Thien-Thi Nguyen
5d7343e24b (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@412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:18:14 +00:00
Thien-Thi Nguyen
015339bf5f Add exception support for Guile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:01:37 +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
Thien-Thi Nguyen
19f1be82c0 bye bye
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 22:09:54 +00:00
Thien-Thi Nguyen
7b7993c337 (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@370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-03 15:11:57 +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
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
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
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
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
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
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
Thien-Thi Nguyen
82c6ba6e12 Fix typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 23:58:03 +00:00
Thien-Thi Nguyen
97180ec23b Also handle `char *' for both input and output sets.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 22:49:36 +00:00
Thien-Thi Nguyen
4b0d0af5ea (GSWIG_scm2str): New func.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 22:49:10 +00:00
Thien-Thi Nguyen
174e28c0a1 Extend map sets so as to be able to handle varin' and varout'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-02 01:12:44 +00:00
Thien-Thi Nguyen
f28a15c201 Simplify; remove INPUT-, OUTPUT- and BOTH-related maps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-01 23:47:35 +00:00
Thien-Thi Nguyen
4c38d8a1d9 Assign copyright to Matthias Koeppe.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 23:22:03 +00:00
Thien-Thi Nguyen
2534eb1fae Initial revision. (Thanks to Matthias Koeppe.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 13:44:14 +00:00
Thien-Thi Nguyen
9df0c9b1d4 (GUILE_APPEND_RESULT): New macro. (Thanks to Matthias Koeppe.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 13:43:30 +00:00
Harco de Hilster
f03fd12dc1 Somehow the java dir was gone from the repository. Adding it again.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 10:59:23 +00:00
Dave Beazley
1178e12873 cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-16 17:46:23 +00:00
Dave Beazley
ede14998df Fixed some compiler warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 23:19:56 +00:00
Dave Beazley
77497569e7 Added braces around some macros.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:48:14 +00:00
Dave Beazley
feb67fb7db Fixed minor bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@224 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:18:54 +00:00
Dave Beazley
7d0922dc27 Fixed runtime support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 00:58:27 +00:00
Dave Beazley
4685f5734e Added runtime declarations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@204 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 00:40:08 +00:00
Dave Beazley
4e2c722503 Clean up.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-08 23:53:35 +00:00
Dave Beazley
c3dfb52eb5 Modified to use new pointer type-checker.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:27:23 +00:00
Dave Beazley
84a7f1b612 Added error handling flag to ConvertPtr function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:25:55 +00:00
Dave Beazley
bde299cc9d Make the use of CObjects a conditional compilation flag.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 04:22:52 +00:00
Dave Beazley
d8e7631990 More improvements to type-checking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 23:37:02 +00:00
Dave Beazley
ae1aa7f56a Performance enhancements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 07:03:21 +00:00
Dave Beazley
8be06b60ce Upgrade of runtime functions to support new pointer type checking scheme.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:35:41 +00:00
Dave Beazley
d2032af50a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@46 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 02:55:03 +00:00
Dave Beazley
09bd3946db Added files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@39 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-11 21:15:54 +00:00