diff options
author | John Peacock <jpeacock@cpan.org> | 2016-02-16 21:34:52 -0600 |
---|---|---|
committer | Ricardo Signes <rjbs@cpan.org> | 2016-03-17 20:51:15 -0400 |
commit | 14f3031b13a4d4c094ca37dc42e1cbb34863a050 (patch) | |
tree | 2d2e04389368288ced76779111d3975001235ea2 /vutil.h | |
parent | df0d64c4362a87d672ee4136a9487b7671c48aab (diff) | |
download | perl-14f3031b13a4d4c094ca37dc42e1cbb34863a050.tar.gz |
Import version.pm 0.9914 from CPAN
Diffstat (limited to 'vutil.h')
-rw-r--r-- | vutil.h | 30 |
1 files changed, 20 insertions, 10 deletions
@@ -131,16 +131,16 @@ S_croak_xs_usage(pTHX_ const CV *const cv, const char *const params) # define VUTIL_REPLACE_CORE 1 -const char * Perl_scan_version2(pTHX_ const char *s, SV *rv, bool qv); -SV * Perl_new_version2(pTHX_ SV *ver); -SV * Perl_upg_version2(pTHX_ SV *sv, bool qv); -SV * Perl_vstringify2(pTHX_ SV *vs); -SV * Perl_vverify2(pTHX_ SV *vs); -SV * Perl_vnumify2(pTHX_ SV *vs); -SV * Perl_vnormal2(pTHX_ SV *vs); -SV * Perl_vstringify2(pTHX_ SV *vs); -int Perl_vcmp2(pTHX_ SV *lsv, SV *rsv); -const char * Perl_prescan_version2(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha); +static const char * Perl_scan_version2(pTHX_ const char *s, SV *rv, bool qv); +static SV * Perl_new_version2(pTHX_ SV *ver); +static SV * Perl_upg_version2(pTHX_ SV *sv, bool qv); +static SV * Perl_vstringify2(pTHX_ SV *vs); +static SV * Perl_vverify2(pTHX_ SV *vs); +static SV * Perl_vnumify2(pTHX_ SV *vs); +static SV * Perl_vnormal2(pTHX_ SV *vs); +static SV * Perl_vstringify2(pTHX_ SV *vs); +static int Perl_vcmp2(pTHX_ SV *lsv, SV *rsv); +static const char * Perl_prescan_version2(pTHX_ const char *s, bool strict, const char** errstr, bool *sqv, int *ssaw_decimal, int *swidth, bool *salpha); # define SCAN_VERSION(a,b,c) Perl_scan_version2(aTHX_ a,b,c) # define NEW_VERSION(a) Perl_new_version2(aTHX_ a) @@ -239,3 +239,13 @@ const char * Perl_prescan_version(pTHX_ const char *s, bool strict, const char** # define RESTORE_NUMERIC_LOCAL() # endif #endif + +#ifndef LOCK_NUMERIC_STANDARD +#define LOCK_NUMERIC_STANDARD() +#endif + +#ifndef UNLOCK_NUMERIC_STANDARD +#define UNLOCK_NUMERIC_STANDARD() +#endif + +/* ex: set ro: */ |