Luigi Ballabio
62741dd03e
Typemap for size_t applied to std::size_t
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-17 11:52:31 +00:00
Luigi Ballabio
dcb94e7d4a
std::pair added (but not very much tested)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-10 12:42:42 +00:00
Matthias Köppe
30bcf4d0d1
Moved #defines for SWIG_malloc, SWIG_ConvertPtr et al. from %runtime
...
block into runtime file.
This fixes the build of the runtime library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-18 13:16:23 +00:00
Matthias Köppe
36055df144
(SWIG_Guile_Init): Cast some strings to char* to avoid const-ness warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-17 08:51:42 +00:00
Matthias Köppe
e5ac3696bc
Merged first chunk of Guile changes contributed by John Lenz.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-03 22:12:50 +00:00
Luigi Ballabio
7764b8227a
Added correct (I hope) typechecking for native scripting objects
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-22 13:01:44 +00:00
Luigi Ballabio
03658fcb4c
std::map ready for prime time (hopefully)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-11 15:38:02 +00:00
Luigi Ballabio
9d50216d9c
Support for std::map (thanks, Dave)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-27 10:05:55 +00:00
Luigi Ballabio
2c29e8ea58
Fixed typecheck for bools
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 08:28:59 +00:00
Luigi Ballabio
28aaf91ab6
Typemap fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-04 11:02:04 +00:00
Luigi Ballabio
32e0a3d8e7
A global stl.i works just as well
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-17 12:44:47 +00:00
Matthias Köppe
05c2429552
Fix for generated documentation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4210 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-19 17:32:42 +00:00
Dave Beazley
12a43edc2d
The great merge
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Matthias Köppe
88cca110e3
Fixed typo.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-22 08:36:39 +00:00
Matthias Köppe
b53f74cb5f
[Guile] New typemaps for FILE *.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-21 21:06:17 +00:00
Matthias Köppe
e867ed25a8
Incorporated patch #101430 , fixing bugs in the Guile module.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-18 09:35:36 +00:00
Matthias Köppe
27705dc6ff
Updated Guile modules.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@815 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-03 20:06:32 +00:00
Dave Beazley
16ff68c288
Changed _swig_type_info to swig_type_info
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-09-02 16:25:50 +00:00
Matthias Köppe
4f2b313968
Free malloc'ed string copies after function call.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 15:27:58 +00:00
Matthias Köppe
7c42df5968
(GSWIG_scm2str) Simplified.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 15:03:09 +00:00
Matthias Köppe
a82f83b19d
Handle more than 10 args.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-31 12:12:40 +00:00
Matthias Köppe
d5431492ae
Fixed handling of char types.
...
Added support for optional arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 21:53:49 +00:00
Matthias Köppe
b7055de184
Added documentation for variable and constant wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 19:54:45 +00:00
Matthias Köppe
887d79cae3
Use the nice type name for printing pointer objects.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 15:48:43 +00:00
Matthias Köppe
74ac578ba8
File insertion now data-driven via %insert.
...
Using %define for multiline defines.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-30 08:50:06 +00:00
Matthias Köppe
597c3f8ebe
Updated Guile runtime code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 17:30:50 +00:00
Matthias Köppe
aeba1f7c50
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/SWIG@715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 12:05:01 +00:00
Matthias Köppe
2fd0d3f570
Added configuration file for Guile.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-29 08:50:34 +00:00
Matthias Köppe
3768eb73db
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/SWIG@707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-28 21:53:47 +00:00
Matthias Köppe
5dd93a433c
New typemaps for ANSI C size_t' and ptrdiff_t' types.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:23:17 +00:00
Matthias Köppe
f5af65aecc
Fixed last change.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-27 20:22:41 +00:00
Thien-Thi Nguyen
5863d08aa4
(_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/SWIG@685 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-08-21 17:03:56 +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
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
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
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
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
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