swig/Source/Modules
Vadim Zeitlin fdc6bbeda3 Don't always use "*args" for all Python wrapper functions.
Due to what seems like a bug introduced during Python 3 support merge, all the
generated Python functions used the general "*args" signature instead of using
the named parameters when possible.

This happened due to is_primitive_defaultargs() always returning false for the
functions without any default arguments as "value" passed to convertValue()
was NULL in this case and convertValue() always returns false for NULL.

Fix this by checking for value being non-NULL before calling convertValue().

Doing this exposed several problems with the handling of unnamed, duplicate
(happens for parameters called INOUT, for example) or clashing with keywords
parameter names, so the code dealing with them had to be fixed too. Basically
just use makeParameterName() consistently everywhere.
2014-08-17 01:08:32 +02:00
..
allegrocl.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
allocate.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12: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 Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
chicken.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
clisp.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
contract.cxx Cosmetics/code beautification of nested class support 2013-11-29 07:29:58 +00:00
csharp.cxx Refactor: move makeParameterName() to common Language base class. 2014-08-16 13:11:22 +02:00
d.cxx Refactor: move makeParameterName() to common Language base class. 2014-08-16 13:11:22 +02: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 [Go] Change struct definition to use void *, not uint8, so 2014-07-14 08:33:43 -07:00
guile.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
java.cxx Refactor: move makeParameterName() to common Language base class. 2014-08-16 13:11:22 +02:00
javascript.cxx Fix function naming conflict with class overloads. 2014-06-06 18:24:22 +02:00
lang.cxx Refactor: move makeParameterName() to common Language base class. 2014-08-16 13:11:22 +02:00
lua.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
main.cxx Create separate extetnd.c file for handling extensions / %extend 2014-05-21 19:16:15 +01:00
modula3.cxx Refactor: move makeParameterName() to common Language base class. 2014-08-16 13:11:22 +02:00
module.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
mzscheme.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
nested.cxx %extend symbols for nested structs get into a wrong C symbol table 2014-05-28 22:15:50 +04:00
ocaml.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
octave.cxx Octave: remove deprecated -global/-noglobal command-line arguments 2014-05-29 23:42:55 +02:00
overload.cxx Removing obsolete debug code 2014-02-19 13:34:48 +04:00
perl5.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
php.cxx [PHP] The generated __isset() method now returns true for read-only properties. 2014-05-01 14:37:58 +12:00
pike.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
python.cxx Don't always use "*args" for all Python wrapper functions. 2014-08-17 01:08:32 +02:00
r.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
README File move 2002-12-03 20:33:35 +00:00
ruby.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
s-exp.cxx Remove cvs/svn Id strings 2013-01-12 01:21:16 +00:00
swigmain.cxx Alphabetical order for Javascript in -help output 2014-04-10 08:11:33 +01:00
swigmod.h Refactor: move makeParameterName() to common Language base class. 2014-08-16 13:11:22 +02:00
tcl8.cxx Eliminate needless casting away const from string constants 2014-04-30 12:00:23 +12:00
typepass.cxx obscure case workaround in std::set wrapper, where ignored type still need to be processed 2014-05-19 02:05:23 +04: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 Remove cvs/svn Id strings 2013-01-12 01:21:16 +00: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