Throw runtime exception when trying to convert a c++-pointer to a
authorBenedikt Tutzer <benedikt_tutzer@yahoo.de>
Thu, 4 Jul 2019 12:20:13 +0000 (14:20 +0200)
committerBenedikt Tutzer <benedikt_tutzer@yahoo.de>
Thu, 4 Jul 2019 12:20:13 +0000 (14:20 +0200)
commit3a1a41bdb16c9cdf587147f8fb9dc910bcddfd26
treeff0b3a426037d29970b1a88a98e0d5ce8f0b5306
parentde263281308c112891ef330536bd228460a0f85f
Throw runtime exception when trying to convert a c++-pointer to a
python-object in case the pointer is a nullptr to avoid a segfault.

Fixes #1090
misc/py_wrap_generator.py