This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
handy.h, hv.h: fixup hash s suffix macro definitions, move to hv.h
authorYves Orton <demerphq@gmail.com>
Wed, 19 Oct 2016 08:36:14 +0000 (10:36 +0200)
committerYves Orton <demerphq@gmail.com>
Wed, 19 Oct 2016 11:27:59 +0000 (13:27 +0200)
commit4ac46235a35c3293a6effa2b38b5fe6e37ef7985
tree911a7f00e1b8f3a08000318d1f8d2460e2608764
parent777fa2cb699b74cad6714d203572533dbd583976
handy.h, hv.h: fixup hash s suffix macro definitions, move to hv.h

For some reason s suffix macro definitions intended for handling
constant string arguments were put into handy.h and not into hv.h.

I think this is wrong, especially as the macro defintions have
"drifted" and are not properly defined in terms the right base
macros.

Also we want to have such wrappers for the main hash functions,
so move them all to hv.h, recode them properly in terms of the
right base macros, and add support for the missing functions.
handy.h
hv.h