TYPEMAP
bool T_BOOL
INPUT
# The Perl core already has a typemap entry for bool, but the one in
# 5.6 is broken. This is essentially a copy of the one in 5.8, which
# also works for 5.6.
T_BOOL
$var = (bool)SvTRUE($arg)
TYPEMAP
bool T_BOOL
INPUT
# The Perl core already has a typemap entry for bool, but the one in
# 5.6 is broken. This is essentially a copy of the one in 5.8, which
# also works for 5.6.
T_BOOL
$var = (bool)SvTRUE($arg)