This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Perl_sv_vcatpvfn_flags: move some macros earlier
authorDavid Mitchell <davem@iabyn.com>
Thu, 18 May 2017 08:03:20 +0000 (09:03 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 7 Jun 2017 08:11:02 +0000 (09:11 +0100)
commitccedffca3a4de735c4032d34239327420dbb52df
tree872319bae55c22fd4bd2a2f5582b667be2f92387
parent00bc75c12c7ebb8cf76cc4f3d49f39c9f8897108
Perl_sv_vcatpvfn_flags: move some macros earlier

There are some macro definitions in the body of Perl_sv_vcatpvfn_flags()
which handle some possible differences between double and long double.
Move these to before the function as they will shortly need to be visible
to a new helper function. At the same time, prefix their names with with
VCATPVFN_ to make clear what they're for.

For the same reason I've also added a new typedef, vcatpvfn_long_double_t.

I also eliminated the FV_ISFINITE macro definition as its no longer used.
sv.c