SV *pv_lim_sv = perl_get_sv("Devel::Peek::pv_limit", FALSE);
const STRLEN pv_lim = pv_lim_sv ? SvIV(pv_lim_sv) : 0;
SV *dumpop = perl_get_sv("Devel::Peek::dump_ops", FALSE);
- const I32 save_dumpindent = PL_dumpindent;
+ const U16 save_dumpindent = PL_dumpindent;
PL_dumpindent = 2;
do_sv_dump(0, Perl_debug_log, sv, 0, lim,
(bool)(dumpop && SvTRUE(dumpop)), pv_lim);
- PL_dumpindent = (U16)save_dumpindent;
+ PL_dumpindent = save_dumpindent;
}
void
SV *pv_lim_sv = perl_get_sv("Devel::Peek::pv_limit", FALSE);
const STRLEN pv_lim = pv_lim_sv ? SvIV(pv_lim_sv) : 0;
SV *dumpop = perl_get_sv("Devel::Peek::dump_ops", FALSE);
- const I32 save_dumpindent = PL_dumpindent;
+ const U16 save_dumpindent = PL_dumpindent;
PL_dumpindent = 2;
for (i=1; i<items; i++) {
do_sv_dump(0, Perl_debug_log, ST(i), 0, lim,
(bool)(dumpop && SvTRUE(dumpop)), pv_lim);
}
- PL_dumpindent = (U16)save_dumpindent;
+ PL_dumpindent = save_dumpindent;
}
void
}
PL_last_swash_hv = hv;
+ assert(klen <= sizeof(PL_last_swash_key));
PL_last_swash_klen = (U8)klen;
/* FIXME change interpvar.h? */
PL_last_swash_tmps = (U8 *) tmps;