Commit graph

44 commits

Author SHA1 Message Date
Luigi Ballabio
34521b3eb6 Support for std::map (thanks, Dave)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 10:05:55 +00:00
Luigi Ballabio
45401fca51 Fixed typecheck for bools
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 08:28:59 +00:00
Luigi Ballabio
881217f965 Typemap fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-04 11:02:04 +00:00
Luigi Ballabio
be4e37e548 A global stl.i works just as well
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-17 12:44:47 +00:00
Matthias Köppe
706098a420 Fix for generated documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-19 17:32:42 +00:00
Dave Beazley
516036631c The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Matthias Köppe
8a82c62193 Fixed typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 08:36:39 +00:00
Matthias Köppe
88ffd4c691 [Guile] New typemaps for FILE *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:06:17 +00:00
Matthias Köppe
aef09f73b8 Incorporated patch #101430, fixing bugs in the Guile module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 09:35:36 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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