Surendra Singhi
e88aa73dc5
operator overloading support
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-13 13:26:37 +00:00
William S Fulton
e236e10bf7
Fix for directors and non jvm created threads - the jvm would not close
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:41:12 +00:00
Luigi Ballabio
2ba3707828
Fixes for std::pair typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-01 07:51:45 +00:00
Mikel Bancroft
2709b65d83
07/25/2006: mutandiz
...
[allegrocl]
more additions to std::string, some tweaks and small bug fixes
-nocwrap mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-25 22:59:16 +00:00
William S Fulton
0d30f52e97
Fix long long typemaps so that they can be applied to __int64 and other equivalents
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-24 20:37:10 +00:00
Mark Gossage
b2363bff02
upfdated to the typemaps to support std:strings with '\0' in them, and to add a typemap for SWIGTYPE** OUTPUT
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-21 08:51:40 +00:00
Mikel Bancroft
f2ff50e60e
07/19/2006: mutandiz
...
[allegrocl]
- Add std_string.i support.
- Add newobject patch submitted by mkoeppe (thanks!)
- Fix type name mismatch issue for nested type definitions.
specifically typedefs in templated class defns.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-19 21:53:07 +00:00
John Lenz
cf3a18e631
Increment SWIG_RUNTIME_VERSION to 3, because of addition of owndata
...
Reported by: Prabhu Ramachandran
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-15 01:38:53 +00:00
Olly Betts
afa9552b5c
Fix the easiest warnings in the generated code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9212 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-11 04:53:33 +00:00
Hans Oesterholt-Dijkema
b593492d03
* mzscheme code can now dynamically load libraries, that are needed
...
at runtime. This allows for code to be generated at some site, and
distributed without the need for SWIG.
The distribution needs only the header filesfor which the code has been
generated. Linking is done at runtime, by loading the dynamic libraries.
Functions are resolved when needed.
Though somewhat inefficient, it provides for a way to distribute code
or binaries that are independent of the version of the installed libraries,
which comes in especially handy for e.g. binding against Gtk.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9211 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-09 17:10:05 +00:00
William S Fulton
6a8d2e97f1
Fix directorout typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-07 10:06:25 +00:00
William S Fulton
efdab2a1ea
Fix operator warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:04:35 +00:00
William S Fulton
197226f8ce
debug comments in generated code removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:02:54 +00:00
William S Fulton
32abf157f7
new explicitcall feature
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9188 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:00:55 +00:00
William S Fulton
a3a7b4df66
update to use proxy terminology
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 21:17:30 +00:00
Joseph Wang
ef80a4f59a
Committing R-SWIG
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 03:01:18 +00:00
William S Fulton
4fd410192a
fix typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-21 21:18:24 +00:00
John Lenz
b3cc02cfd0
Remove integers_runme.ss because Chicken does not test for integer overflow
...
Fixes to get apply_strings.i to work in the testsuite
Minor documentation updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-21 04:16:21 +00:00
Olly Betts
1cf8dee120
Added some missing keywords to the PHP4 keyword list, and
...
fixed __LINE__ and __FILE__ which were in the wrong category.
Also added all the keywords new in PHP5, and added comments
noting the PHP4 keywords which aren't keywords in PHP5.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-17 13:33:05 +00:00
Mikel Bancroft
080fa80ff3
06/15/2006: mutandiz
...
[allegrocl]
Add initial support for std::list container class.
Fix a few bugs in helper functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-16 02:28:19 +00:00
William S Fulton
fb15c9401e
More namespace pollution fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 19:29:59 +00:00
William S Fulton
ff1bd7a80d
Vladimir Menshakov patch for compiling wrappers with python-2.5 alpha.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 19:24:54 +00:00
William S Fulton
5723482a49
Add warning for directorout typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:03:57 +00:00
William S Fulton
06ac19312a
Fix return by reference for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:49:25 +00:00
Mikel Bancroft
3069aa45fb
05/25/2006: mutandiz
...
[allegrocl]
Fix bug in generation of CLOS type declarations for unions
and equivalent types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-25 23:22:05 +00:00
Mikel Bancroft
cf55986a90
5/24/2006: mutandiz
...
[allegrocl]
Don't require full class definition to generate CLOS wrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-24 08:33:07 +00:00
Olly Betts
42e34e1308
Convert C++ std::string to and from ruby such that strings containing
...
zero bytes are handled correctly, as they are elsewhere.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-15 02:01:05 +00:00
Olly Betts
97e9837d46
Fix a typo.
...
[Patch recommit]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:56:46 +00:00
William S Fulton
35e80864f4
Fix char* %apply for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-14 18:50:06 +00:00
William S Fulton
fbc8edfc79
C# director support added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:38:24 +00:00
William S Fulton
800605149b
cosmetic mods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:17:45 +00:00
William S Fulton
a87c35c3e1
better director support for reference types
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:16:20 +00:00
William S Fulton
c60b129351
Director support added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:15:37 +00:00
Olly Betts
ee62933ea5
Don't segfault if PHP Null is passed where a C++ reference is wanted.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-07 01:10:31 +00:00
William S Fulton
389b4813ca
more %apply char* fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 23:26:57 +00:00
Olly Betts
092f3a3806
Fix wrappers generated for global 'char' variables to not include a terminating
...
zero in the PHP string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 14:57:19 +00:00
Olly Betts
acb60e1644
Wrap multi-statement macro SWIG_PHP_Error(code,msg) in do {...} while (0)
...
to protect it from expanding incorrectly (spotted by Sam Liddicott).
Fortunately all current uses by SWIG itself appear to be safe.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 00:34:01 +00:00
Marcelo Matus
b319720cf1
fix bug #1480074
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9085 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 05:48:55 +00:00
Marcelo Matus
553c551fef
fix std::vector<const int*>, reported by tagna@gaia.ecs.csus.edu
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 05:24:41 +00:00
Marcelo Matus
20339de8b4
more fixes/tests for empty strings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 04:45:41 +00:00
Marcelo Matus
c21c26945c
more fixes to use %apply and char, unsigned char and others
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-04 02:01:17 +00:00
Marcelo Matus
cb8ca07b96
cosmetic fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 23:08:51 +00:00
Marcelo Matus
f95d974620
fix changes in 1.3 to better support %apply, it didn't compile with python before
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 23:08:15 +00:00
Marcelo Matus
f4f56b2c34
fix empty std::string case, reported by Daniel Moore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 22:46:50 +00:00
Marcelo Matus
a2b1dd53be
fix null char* case, reported by Daniel Moore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9078 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 22:46:25 +00:00
Marcelo Matus
5ad74d2921
fix null char* case, reported by Daniel Moore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 22:34:26 +00:00
Marcelo Matus
09d0d6b4ff
fix empty std::string case, reported by Daniel Moore
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 22:31:23 +00:00
William S Fulton
2d24918a97
ensure %apply with char*, unsigned char* and signed char* works
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 20:58:19 +00:00
William S Fulton
f08834e987
Fix possible redefinition of _CRT_SECURE_NO_DEPRECATE (for VC++)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-02 20:56:33 +00:00
William S Fulton
337ca33568
Add in defines to optionally remove the C# exception and string helper support code
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-21 23:53:06 +00:00