python interface: replace assert with explicit abort in print_callback
commitc4a8a40c907b94bcada0957b51918e071349847f
authorTobias Grosser <tobias@grosser.es>
Tue, 21 Jun 2016 21:17:52 +0000 (21 23:17 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 22 Jun 2016 07:31:34 +0000 (22 09:31 +0200)
treed13e883d28526b05d47fe8f9905f2e8877223ee5
parentddedebcc8f82f2dac6342644c0e8fb36781ec98c
python interface: replace assert with explicit abort in print_callback

This ensures that the error condition is also checked in NASSERT builds
and additionally removes a warning we have seen in NASSERT builds:

interface/python.cc:342:12: warning: unused variable 'arg_type'
[-Wunused-variable]
                QualType arg_type = fn->getArgType(i);

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
interface/python.cc