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

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:249:1: warning: control may reach end of
non-void function [-Wreturn-type]
}
^

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