This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Convert Perl_sv_pos_u2b_proper() to Perl_sv_pos_u2b_flags().
authorNicholas Clark <nick@ccl4.org>
Sun, 14 Feb 2010 12:31:44 +0000 (12:31 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 14 Feb 2010 16:32:51 +0000 (16:32 +0000)
commitd931b1bedc59d4625c59047dfda2b1bd83ff9f71
treeb6df8c2182b2f94b636bf68a400342316d8039bb
parent1c90055717b05b3f652bf543a46419001314c53e
Convert Perl_sv_pos_u2b_proper() to Perl_sv_pos_u2b_flags().

Change from a value/return offset pointer to passing a Unicode offset, and
returning a byte offset. The optional length value/return pointer remains.
Add a flags argument, passed to SvPV_flags(). This allows the caller to
specify whether mg_get() should be called on sv.
embed.fnc
embed.h
global.sym
mg.c
pp.c
proto.h
sv.c