This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
croak_memory_wrap is an inline function.
authorKarl Williamson <khw@cpan.org>
Wed, 29 May 2019 02:52:07 +0000 (20:52 -0600)
committerKarl Williamson <khw@cpan.org>
Fri, 31 May 2019 00:13:29 +0000 (18:13 -0600)
Update embed.fnc to correspond

embed.fnc
proto.h

index ba6f86d..28c90ee 100644 (file)
--- a/embed.fnc
+++ b/embed.fnc
@@ -1986,7 +1986,7 @@ ATpa      |Malloc_t|safesysmalloc |MEM_SIZE nbytes
 ATpa   |Malloc_t|safesyscalloc |MEM_SIZE elements|MEM_SIZE size
 ATpR   |Malloc_t|safesysrealloc|Malloc_t where|MEM_SIZE nbytes
 ATp    |Free_t |safesysfree    |Malloc_t where
-AsrTx  |void   |croak_memory_wrap
+AirTx  |void   |croak_memory_wrap
 #if defined(PERL_GLOBAL_STRUCT)
 Ap     |struct perl_vars *|GetVars
 Ap     |struct perl_vars*|init_global_struct
diff --git a/proto.h b/proto.h
index 74a8e46..3126397 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -619,7 +619,7 @@ PERL_CALLCONV_NO_RET void   Perl_croak_caller(const char* pat, ...)
                        __attribute__noreturn__
                        __attribute__format__null_ok__(__printf__,1,2);
 
-PERL_STATIC_NO_RET void        S_croak_memory_wrap(void)
+PERL_STATIC_INLINE_NO_RET void S_croak_memory_wrap(void)
                        __attribute__noreturn__;
 
 PERL_CALLCONV_NO_RET void      Perl_croak_no_mem(void)