longer as of Go 1.5. In Go 1.5 or later user calls to
_swig_makegostring will fail at link time.
Instead, use goout and godirectorin typemaps to allocate strings in Go
code.
Change the Go typemaps support to ignore empty strings, so that we can
define empty strings for regular types so that %apply will override
the definitions for string types.
Fix the gccgo code to wrap SwigCgoCallback around all godirectorin
typemaps.
Add a few newlines after typemap code so that the typemaps don't have
to include them.
Setting properties on classic classes was broken in swig-3.0.3 by attempting to use __setattr__. This regression is fixed now by using __dict__ again when using -classic.
Fixes patch #232.
Default values are no longer generated as Python code by default.
They must be explicitly turned on using the "python:defaultargs" feature.
Closes#294Closes#296
The problems in these two issues when "python:defaultargs" is turned
on still need to be fixed and should be addressed in separate patches.
The important thing is the default code generation is now fixed.
when the end of the file is reached, report it at the start line rather
than "EOF" as then tools like editors and IDEs will take you to a
generally more useful place for fixing the problem.
Provide -cppext as a general command line option for setting the
extension used for generated C++ files (previously it was specific
to the PHP backend). Deprecate the equivalent -suffix option
provided by the Ocaml backend, but continue to support that for
now.
Templated constructors were incorrectly ignored because SWIG thought they were
methods without a return type.
Regression introduced in swig-3.0.0
Closes#245.
* python-builtin-test-suite:
Add Python -builtin Travis testing
Bypass Python exmples not supported by -builtin
Remove Python swigrun example
Display testname when running the import_packages Python examples
Fix Python 3 import_packages/relativeimport2 example clean
Fixes when using python -builtin and STL container wrappers.
Bypass Python tests not supported by -builtin
Bypass Python tests not supported by -builtin
Bypass Python tests not supported by -builtin
Bypass Python tests not supported by -builtin
Bypass Python tests failing with -builtin
Bypass Python tests throwing base classes as exceptions for -builtin
Add some more Python -builtin tests that don't work
Disable test not relevant for Python -builtin
Conflicts:
CHANGES.current