Commit graph

666 commits

Author SHA1 Message Date
Marcelo Matus
dd502bfae0 add missing %types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6683 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-07 02:22:29 +00:00
Marcelo Matus
8083d4b64b back to typemaps for size_t/ptrdiff_t. typedes don't work with std::vector
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6682 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 23:18:45 +00:00
Marcelo Matus
dade472fb2 fix for null-reference 1038359
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:49:10 +00:00
Marcelo Matus
994e796c87 add std_list (lluisp #1033399)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 02:32:26 +00:00
William S Fulton
9bf092eb5a C# std::vector support. Not really ready for the masses, but enjoy anyway.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:37:37 +00:00
William S Fulton
5df51fab85 tidy generated code up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:26:17 +00:00
Art Yerkes
3101067a2d Uniform SWIGSTATIC on all prototypes.
#ifdef __GNUC__ -> static inline to remove warning spew using gcc
typemaps: tweaks for arrays, enums
ocaml.cxx: remove Swig. qualifier everywhere it's not needed


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 04:17:00 +00:00
John Lenz
6a0fbb5a2c When compiling with gcc -ansi, inline was improperly getting set.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 01:27:57 +00:00
John Lenz
3a07959dda Fix a bug where chicken wrappers were not correctly registering values with the
chicken garbage collector.
Update the chicken documentation to reflect the new proxy class support.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 23:13:59 +00:00
Marcelo Matus
f42ab6d25a going back to use COBJECTS, which is the safe option, before release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:09:28 +00:00
John Lenz
c65f985bc6 Revert guile_gh.swg and guile_gh_run.swg to not use new runtime system.
Added global variable to hold status of -runtime,-c,-noruntime flag for use
  in guile gh module mode.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:06:53 +00:00
Marcelo Matus
ff50a783e9 Fix for compiler dependent macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:06:25 +00:00
John Lenz
af9b02bc60 The new python runtime now works from python versions 1.6.1 to 2.3.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:26:39 +00:00
Marcelo Matus
c801ac41ec add more docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6620 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 18:48:59 +00:00
Marcelo Matus
53ec1c3c1d add #include <cwchar>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6619 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 17:08:15 +00:00
Marcelo Matus
da29a4793d more warns fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6618 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 16:37:10 +00:00
Marcelo Matus
fcd93c0dc7 fixes for Sun Studio 9, test it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:26:54 +00:00
Marcelo Matus
a1b15cede0 fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6614 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:24:22 +00:00
Marcelo Matus
256efdf85b attributefunc not longer supported
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6613 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:22:25 +00:00
John Lenz
68372c5c2f More work on the chicken module. The test suite, zlib, and overload examples are still broken.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 02:50:30 +00:00
Marcelo Matus
30a995c239 add missing #include <string>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:17:30 +00:00
Marcelo Matus
2d4f884ee0 fix warnings for MS compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:16:52 +00:00
William S Fulton
a87c96ec8e size_t fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:12:01 +00:00
Marcelo Matus
bcd966d1c5 add directorin/directorout for prim. types + ref
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:40:34 +00:00
Marcelo Matus
43ff4e34d1 add patch 962168 for Multiple Inheritance problem, seems to be working fine
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:17:20 +00:00
Marcelo Matus
7841a3dab7 fix varout for SWIGTYPE, bug #1037259
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:11:32 +00:00
Marcelo Matus
3ce2d115c5 fix directors + std::string, reported in 1024595
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:03:13 +00:00
Marcelo Matus
c599db0cd6 add patch 1025861 for director + exceptions, fix director + enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 10:58:16 +00:00
Marcelo Matus
ce999550ad fix tcl + -namespace + constants(enum)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:28:00 +00:00
Marcelo Matus
ddbcd6e42d don't use in error messages, it can generate extra entries in the symbol table
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:25:18 +00:00
Marcelo Matus
1fd5610c9f fix import + typedefs. see example in imports_b.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:23:19 +00:00
William S Fulton
5966a5b275 a few missing typemaps added - exposed by the new mixed default typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:30:23 +00:00
Luigi Ballabio
ae9f8cd796 Raising check made tolerant during typecheck
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6545 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 14:03:56 +00:00
Marcelo Matus
545b20712e split declaration and definition of Director
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 07:30:03 +00:00
William S Fulton
e41405de6b minor corrections
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:54:35 +00:00
William S Fulton
684aa69c65 C# INOUT, INPUT, OUTPUT typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 20:53:05 +00:00
William S Fulton
a7db1c323f Removed SwigValueWrapper specialization
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6524 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 21:45:47 +00:00
Marcelo Matus
8bc79542f8 fix for proper %apply
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:34:18 +00:00
Marcelo Matus
a3c2c2c3a9 fixes for macros + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:33:36 +00:00
William S Fulton
310e2f9db3 wstring directorin typemap fixes from Russell Keith-Magee
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:58:36 +00:00
William S Fulton
11f3ce49ae Typemaps for std::string member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:44:53 +00:00
William S Fulton
e29eede0af $dllimport special variable to specify the DllImport attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:44:10 +00:00
Marcelo Matus
72b2faf604 no more zero value accepted for pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:11:25 +00:00
Marcelo Matus
5a5fe511bf fix ref+int overload
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 19:04:51 +00:00
Art Yerkes
7a9d46108d Removed unneeded define.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6495 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 08:48:05 +00:00
Marcelo Matus
d809efcb2f delete unused line
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 06:30:40 +00:00
William S Fulton
09ed1c1471 Scott Michel patch #1049496 to fix typesafe and proper Java enums with directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:12:36 +00:00
Marcelo Matus
c600268775 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 22:36:52 +00:00
John Lenz
0c57969c61 - Add SWIG_RUNTIME_VERSION to new type sharing code. This is for future-proof, if
the format of swig_type_info ever changes, this number should be incremented
- Add SWIG_LINK_RUNTIME and SWIG_STATIC_RUNTIME symbols to python
- Convert inline into SWIGINLINE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6475 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 21:53:54 +00:00
Marcelo Matus
9bc6545ff0 fix default varin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6472 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 19:15:14 +00:00