Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: d8f772165adcefb98dfb26aae40ce65e91d1e458
https://github.com/Perl/perl5/commit/d8f772165adcefb98dfb26aae40ce65e91d1e458
Author: Karl Williamson <[email protected]>
Date: 2026-03-25 (Wed, 25 Mar 2026)
Changed paths:
M embed.fnc
M embed.h
M perl.h
M proto.h
M regen/embed.pl
M win32/win32.h
Log Message:
-----------
Generalize handling of non-returning, non-void functions
embed.fnc contained a special #if case for Windows for a function that
is declared as not returning, and also is declared as returning 'int'.
This commit generalizes that so that any platform that needs it can
create a macro for that case, and the code not specific to that platform
doesn't have to know about which platforms have which constraints.
This commit showed several other instances of similar circumstances to
the one that was special cased. Apparently they didn't cause problems.
They all returned a pointer instead of an int. This commit treats them
as the special case; I don't see a problem with that
This commit adds a placeholder for the actual name of the non-void
return type, in case that is ever needed.
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications