Commit graph

85 commits

Author SHA1 Message Date
Matthias Köppe
277186567a Updated Guile modules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 20:06:32 +00:00
Masaki Fukushima
f19e6cc4df a few bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 17:11:15 +00:00
Dave Beazley
2af607dcf6 Major fixes to pointer libraries
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 19:25:15 +00:00
Dave Beazley
bb547aac03 Updated for new type handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:50:02 +00:00
Dave Beazley
91aae3a92c Fixed pointer library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:37:14 +00:00
Dave Beazley
3ef3086b5a Changed _swig_type_info to swig_type_info
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Dave Beazley
4e06247c43 Moved location of extern "C" (patch for Python 1.6 compilation).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-01 20:38:34 +00:00
Dave Beazley
ebaf68680a Fixed type-checking problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 17:57:29 +00:00
Matthias Köppe
6e6434db8b Free malloc'ed string copies after function call.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 15:27:58 +00:00
Matthias Köppe
5bda0a34fa (GSWIG_scm2str) Simplified.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 15:03:09 +00:00
Matthias Köppe
dbd9b844a8 Handle more than 10 args.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 12:12:40 +00:00
Matthias Köppe
196f66f49c Fixed handling of char types.
Added support for optional arguments.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 21:53:49 +00:00
Matthias Köppe
f25bebd64f Added documentation for variable and constant wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 19:54:45 +00:00
Matthias Köppe
4dfc13e434 Use the nice type name for printing pointer objects.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:48:43 +00:00
Dave Beazley
c1956bf1fc Added 'str' member to the _swig_type_info structure. This contains a "nice"
string representation of the mangled datatype.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@725 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:14:16 +00:00
Masaki Fukushima
c5d1168781 '-toplevel' option obsoleted.
C++ comment removed and copyright notice added.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 14:28:57 +00:00
Matthias Köppe
f20b30ec95 File insertion now data-driven via %insert.
Using %define for multiline defines.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 08:50:06 +00:00
Dave Beazley
c277bae1a2 Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 03:35:05 +00:00
Matthias Köppe
f80ed2b3c9 Updated Guile runtime code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 17:30:50 +00:00
Matthias Köppe
006146b8f0 New Guile command-line argument "-procdoc", specifying procedure
documentation output file.
Fixed "-Linkage" parsing.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 12:05:01 +00:00
Matthias Köppe
0d31aa7163 Added configuration file for Guile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:50:34 +00:00
Dave Beazley
cb520e0f2d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 01:50:08 +00:00
Matthias Köppe
a227b419fe Major clean up in the Guile module.
Started new typemap-based procedure documentation system.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 21:53:47 +00:00
Dave Beazley
da14e17b54 Eliminated compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@700 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 19:04:39 +00:00
Matthias Köppe
93004550bc New typemaps for ANSI C size_t' and ptrdiff_t' types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:23:17 +00:00
Matthias Köppe
42ad18d498 Fixed last change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:22:41 +00:00
Masaki Fukushima
a116b4b292 Ruby module changed to use pointer object instead of mangled string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@690 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 15:43:59 +00:00
Thien-Thi Nguyen
5a7dbcbb82 (_swig_type_info): New struct typedef.
(_swig_types_initial): New pre-processor macro.
(SWIG_Guile_RegisterTypes): New func decl.
(SWIG_Guile_Init, SWIG_Guile_GetPtr_Str): No longer declare.
(SWIG_Guile_GetPtr, SWIG_Guile_MakePtr): Take `_swig_type_info'
instead of obsolete `SwigPtrType'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 17:03:56 +00:00
Harco de Hilster
b05126e3dc added wstring typemap. contributed by:
Wenyue Yu <wenyue@stud.ntnu.no>
         tal@slt.atr.co.jp


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 11:06:27 +00:00
Dave Beazley
9e68d28c9f Added SWIG_MakePtr() and made other fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-18 20:12:17 +00:00
Dave Beazley
e295e35f5c Perl5 changes. Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 21:14:33 +00:00
Dave Beazley
16568f9aa0 Removed compiler warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-17 02:28:12 +00:00
Dave Beazley
9a82fd7b0c Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-16 18:12:50 +00:00
Dave Beazley
3e6fdf7563 Moved generic type-checking code to common.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-15 21:28:21 +00:00
Harco de Hilster
b23aa21a79 changed c++ string argout typemap to freearg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-14 07:20:24 +00:00
Dave Beazley
32a8172f4f Applied memory leak patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-10 03:17:39 +00:00
Harco de Hilster
ee8744630b added java exception support submitted by Tal Shalif <tal@slt.atr.co.jp>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-04 08:21:20 +00:00
Harco de Hilster
0705357788 added string typemaps send by Tal Shalif <tal@slt.atr.co.jp>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-04 08:20:18 +00:00
Thien-Thi Nguyen
5c69ec9d84 (SWIG_MakePtr, SWIG_GetPtr): Delete these declarations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-24 16:15:44 +00:00
Masaki Fukushima
4048f8a054 (Ruby Support): Fix some type mangle problem in Ruby library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-22 10:52:19 +00:00
Thien-Thi Nguyen
d931f833a1 (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@583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 19:46:09 +00:00
Dave Beazley
8cb81bd55b Fixed memory leak in Python pointer type-checking code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-12 20:05:08 +00:00
Thien-Thi Nguyen
4d989f6796 Add Ruby support contributed by Masaki Fukushima.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-05 18:58:49 +00:00
Dave Beazley
bb918c033e Fixed array deletion problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@497 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-20 16:08:06 +00:00
Dave Beazley
3b7c3f299c Applied Oleg's MzScheme patches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-19 00:29:04 +00:00
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