Skip to content

Commit c4dbe88

Browse files
committed
Convert _MEM_WRAP_WILL_WRAP to legal name
1 parent 10f99dd commit c4dbe88

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

handy.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2727,21 +2727,21 @@ These each call C<PoisonWith(0xEF)> for catching access to freed memory.
27272727
* for X and hope that nothing else whines.
27282728
*/
27292729

2730-
# define _MEM_WRAP_WILL_WRAP(n,t) \
2730+
# define MEM_WRAP_WILL_WRAP_(n,t) \
27312731
((MEM_WRAP_NEEDS_RUNTIME_CHECK_(n,t) ? (MEM_SIZE)(n) : \
27322732
MEM_SIZE_MAX/sizeof(t)) > MEM_SIZE_MAX/sizeof(t))
27332733

27342734
# define MEM_WRAP_CHECK(n,t) \
2735-
(void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
2735+
(void)(UNLIKELY(MEM_WRAP_WILL_WRAP_(n,t)) \
27362736
&& (croak_memory_wrap(),0))
27372737

27382738
# define MEM_WRAP_CHECK_1(n,t,a) \
2739-
(void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
2739+
(void)(UNLIKELY(MEM_WRAP_WILL_WRAP_(n,t)) \
27402740
&& (Perl_croak_nocontext("%s",(a)),0))
27412741

27422742
/* "a" arg must be a string literal */
27432743
# define MEM_WRAP_CHECK_s(n,t,a) \
2744-
( (void) (UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
2744+
( (void) (UNLIKELY(MEM_WRAP_WILL_WRAP_(n,t)) \
27452745
&& (Perl_croak_nocontext(ASSERT_IS_LITERAL(a)), 0)))
27462746

27472747
# define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),

0 commit comments

Comments
 (0)