Skip to content

Commit d80d181

Browse files
committed
sv.h Convert _lEnGtH to legal name
1 parent 610a939 commit d80d181

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

sv.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,16 +1596,16 @@ L</C<SV_CHECK_THINKFIRST_COW_DROP>> before calling this.
15961596
* is no smaller than the expected minimim allocation and that the given
15971597
* size is rounded up to the closest PTRSIZE boundary. Depending on
15981598
* per-malloc implementation, it might return the exact size that would
1599-
* be allocated for the specified _lEnGtH. If the return value from
1599+
* be allocated for the specified lEnGtH_. If the return value from
16001600
* `expected_size` is not smaller than the current buffer allocation,
16011601
* there is no point in calling SvPV_renew.
16021602
*/
16031603

16041604
#define SvPV_shrink_to_cur(sv) STMT_START { \
1605-
const STRLEN _lEnGtH = SvCUR(sv) + 2; \
1606-
const STRLEN _eXpEcT = expected_size(_lEnGtH); \
1607-
if (SvLEN(sv) > _eXpEcT) \
1608-
SvPV_renew(sv, _eXpEcT); \
1605+
const STRLEN lEnGtH_ = SvCUR(sv) + 2; \
1606+
const STRLEN eXpEcT_ = expected_size(lEnGtH_); \
1607+
if (SvLEN(sv) > eXpEcT_) \
1608+
SvPV_renew(sv, eXpEcT_); \
16091609
} STMT_END
16101610

16111611
/*

0 commit comments

Comments
 (0)