develooper Front page | perl.perl5.changes | Postings from August 2022

[Perl/perl5] eb2ae4: hv_func.h - change _PERL style macros to PVT_styl...

From:
Yves Orton via perl5-changes
Date:
August 6, 2022 20:49
Subject:
[Perl/perl5] eb2ae4: hv_func.h - change _PERL style macros to PVT_styl...
Message ID:
Perl/perl5/push/refs/heads/yves/reduce_tech_debt_perl_c/000000-bfc193@github.com
  Branch: refs/heads/yves/reduce_tech_debt_perl_c
  Home:   https://github.com/Perl/perl5
  Commit: eb2ae4ee54ed43c12dad05c7fc9f71a180f9e515
      https://github.com/Perl/perl5/commit/eb2ae4ee54ed43c12dad05c7fc9f71a180f9e515
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-06 (Sat, 06 Aug 2022)

  Changed paths:
    M hv_func.h
    M perlvars.h

  Log Message:
  -----------
  hv_func.h - change _PERL style macros to PVT_ style macros

C reserves identifiers starting with underbar, but I didnt realize that this
applies to defines as well when I set up this file. This renames the private
macros to start with PVT. It maintains the distinction between _PERL and __PERL
by converting them to PVT_PERL and PVT__PERL.


  Commit: bfc193dd4acd40a4f5a5da179be68bf004a52416
      https://github.com/Perl/perl5/commit/bfc193dd4acd40a4f5a5da179be68bf004a52416
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-06 (Sat, 06 Aug 2022)

  Changed paths:
    M hv_func.h
    M perl.c

  Log Message:
  -----------
  perl.c - remove code for reporting state of non-existent defines in -V

Most of the hash based defines are no longer supported, so remove them.
Also at the same time introduce a new simpler way to track which hash
function we are using.


Compare: https://github.com/Perl/perl5/compare/eb2ae4ee54ed%5E...bfc193dd4acd



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About