swig/Source/Modules
William S Fulton 687cf9c9c1 Add missing %python:maybecall to operator overloads.
This ensures NotImplemented is returned on error so that the Python
interpreter will handle the operators correctly instead of throwing an
exception. NotImplemented was not being returned for non-builtin wrappers
when the operator overload did not have a function overload.

See PEP 207 and https://docs.python.org/3/library/constants.html#NotImplemented

Mentioned in SF patch #303 and SF bug #1208.
2017-06-19 19:25:27 +01:00
..
allegrocl.cxx Add support for "ret" typemap where missing and improve documentation on it. 2016-09-29 08:07:26 +01:00
allocate.cxx #733 - wrong "override" calculation in import mode 2016-06-27 20:27:10 +03:00
browser.cxx Add lambda functions to the symbol tables and add ability to suppress lambda warnings. 2013-02-04 20:05:34 +00:00
cffi.cxx Add support for "ret" typemap where missing and improve documentation on it. 2016-09-29 08:07:26 +01:00
chicken.cxx Prevent redefinition warnings when compiling with SWIG<module> defined 2015-12-22 14:33:21 +02:00
clisp.cxx Fix assertion for some languages when wrapping a C++11 enum class that is private in a class. 2016-03-31 20:27:36 +01:00
contract.cxx Cosmetics/code beautification of nested class support 2013-11-29 07:29:58 +00:00
csharp.cxx Remove undocumented features used in directors 2017-05-21 17:43:06 +01:00
d.cxx Remove unnecessary dynamic_cast in C#/D/Java directors 2017-05-21 17:42:27 +01:00
directors.cxx Add support for thread_local when specified with other legitimate storage class specifiers - extern and static 2013-02-08 06:36:39 +00:00
emit.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
go.cxx Fix potential use of uninitialized variables in directors 2017-05-13 22:40:59 +01:00
guile.cxx Prevent redefinition warnings when compiling with SWIG<module> defined 2015-12-22 14:33:21 +02:00
interface.cxx Interface feature fix for typedef types 2016-03-07 21:42:27 +00:00
java.cxx Merge branch 'asibross-master' into director-smartptr-ownership 2017-05-25 08:00:35 +01:00
javascript.cxx Fix %import and %fragment forced inclusion to not generate code. 2017-06-03 18:37:05 +01:00
lang.cxx Fix %import and %fragment forced inclusion to not generate code. 2017-06-03 18:37:05 +01:00
lua.cxx Lua: Fix possible memory leaks 2016-06-16 15:51:50 +03:00
main.cxx [PHP7] Make default C++ extension .cxx 2016-11-30 13:27:13 +13:00
modula3.cxx Multiple inheritance warning wording tweak 2016-03-06 10:45:39 +00:00
module.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
mzscheme.cxx Prevent redefinition warnings when compiling with SWIG<module> defined 2015-12-22 14:33:21 +02:00
nested.cxx Fix segmentation fault when top==NULL 2015-02-26 14:57:19 +13:00
ocaml.cxx Fix potential use of uninitialized variables in directors 2017-05-13 22:40:59 +01:00
octave.cxx Fix potential use of uninitialized variables in directors 2017-05-13 22:40:59 +01:00
overload.cxx Fixing implicitconv handling for fastdispatch and castmode 2016-06-23 08:06:14 -04:00
perl5.cxx Fix potential use of uninitialized variables in directors 2017-05-13 22:40:59 +01:00
php.cxx Merge pull request #970 from nihal95/master 2017-05-16 17:47:35 +12:00
php5.cxx Merge pull request #970 from nihal95/master 2017-05-16 17:47:35 +12:00
pike.cxx Fix GCC 7 warnings 2016-12-21 13:05:20 +13:00
python.cxx Add missing %python:maybecall to operator overloads. 2017-06-19 19:25:27 +01:00
r.cxx Fix R function pointer wrappers containing lvalue and rvalue reference parameters 2017-06-16 07:41:05 +01:00
README File move 2002-12-03 20:33:35 +00:00
ruby.cxx Fix potential use of uninitialized variables in directors 2017-05-13 22:40:59 +01:00
s-exp.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
scilab.cxx fix Scilab 6.0.0 linking issue 2017-05-30 14:42:44 +02:00
swigmain.cxx [PHP] Add support for PHP7. 2016-11-30 13:05:59 +13:00
swigmod.h Add checks for interface name symbol clashes 2016-03-03 22:48:35 +00:00
tcl8.cxx Prevent redefinition warnings when compiling with SWIG<module> defined 2015-12-22 14:33:21 +02:00
typepass.cxx Add C++11 alias templates 2016-07-06 00:31:04 +03:00
uffi.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
utils.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
xml.cxx Update xml.cxx to return typenames (#777) 2016-09-27 15:15:47 +13:00

06/25/2002

This directory contains all of the SWIG language modules.  Many of these
modules contain code that dates back to SWIG1.0.  The module API has changed
a lot in the development releases so this is fairly messy.  We're working on
cleaning it up, but you'll have to bear with us until it's done.

-- Dave