rb_obj_is_kind_of can no longer be used for type checking as the
smartptr feature type, eg shared_ptr<Derived> cannot be cast to
a smartptr of the base class, eg shared_ptr<Base>.
Previously Derived could be cast to Base as they were in an
inheritance chain and the call to rb_define_class_under() used
SWIGTYPE_p_Base->clientdata for all derived classes.
Now SWIG_TypeCheck is always used.
This is a patch to resolve SF bug 2034216 (Github issue #225)
The bug is that the tracking code uses a ruby hash and thus may
allocate objects (Bignum) while running the GC. This was tolerated in
1.8 but is invalid (raises an exception) in 1.9.
The patch uses a C hash (also used by ruby) instead.
* lyze-cffi-export-package:
Add user documentation to the export package extension.
Extend the export feature in the CFFI module to support exporting to a particular package.
* DarthGandalf-osx:
Add executable permissions to new scripts
Travis: unify GCC5 and SWIG_CC variables
Make sure travis doesn't silently skip testing of some language
Add R to testflags.py
Integrate OS X .travis.yml into master branch using multi-os feature.
Reinstates autodoc for callback function testcase from #467, actually
tests the resulting docstring in the _runme.py and fixes SWIG/Python
so the expected result is obtained.
Suppresses warning:
error: control may reach end of non-void function [-Werror,-Wreturn-type]
The UNUSED macro is not expanded in ruby.h for rb_exc_raise for clang when
it ought to be.
For patch #512
By using the 'except:', you can catch all kinds of exceptions, including
the KeyboardInterrupt and SystemExit exceptions. From the generated
code, it is quite obvious that it is not these cases that should be
caught, but more specific ones like AttributeError and TypeError. To be
on the safe side, I decided to keep using 'Exception' for now.
* Removed link to examples in the Go source tree as discussed in issue #418.
* Reworded occurences of the 'gc tool' as it has been removed with Go 1.5.
* Reworked chapter 23.3. This should make it easier for users to get started
with SWIG as the chapter starts with how to use SWIG with the go tool.
* Added helpful links.
* no-swig-preinst:
Leave preinst-swig as a convenience only script for ad-hoc use
Consistent quoting in Makefile
More remove SWIG_LIB variable
XML examples out of source support
Remove SWIG_LIB variable from Makefile
Remove use of preinst-swig script
Remove realpath from python/import_packages example
Cosmetic changes in Chicken example Makefiles
Prototype removal of swig-preinst in the test-suite and examples