X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/6af660ee01c05048b7704273e88e9249deb8202f..77f5d5391b62a789859420c91301d6d3d27a122f:/malloc_ctl.h diff --git a/malloc_ctl.h b/malloc_ctl.h index 7a6aed0..d746372 100644 --- a/malloc_ctl.h +++ b/malloc_ctl.h @@ -14,14 +14,12 @@ struct perl_mstats { }; typedef struct perl_mstats perl_mstats_t; -START_EXTERN_C -Malloc_t Perl_malloc (MEM_SIZE nbytes); -Malloc_t Perl_calloc (MEM_SIZE elements, MEM_SIZE size); -Malloc_t Perl_realloc (Malloc_t where, MEM_SIZE nbytes); +PERL_CALLCONV Malloc_t Perl_malloc (MEM_SIZE nbytes); +PERL_CALLCONV Malloc_t Perl_calloc (MEM_SIZE elements, MEM_SIZE size); +PERL_CALLCONV Malloc_t Perl_realloc (Malloc_t where, MEM_SIZE nbytes); /* 'mfree' rather than 'free', since there is already a 'perl_free' * that causes clashes with case-insensitive linkers */ -Free_t Perl_mfree (Malloc_t where); -END_EXTERN_C +PERL_CALLCONV Free_t Perl_mfree (Malloc_t where); #ifndef NO_MALLOC_DYNAMIC_CFG