From 4de1bcfe1abdaba0a5da394ddea0cc6fd7e36c7b Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sat, 7 Feb 2015 15:07:08 -0500 Subject: infnan: grok_number* setting the infnan NV directly --- proto.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'proto.h') diff --git a/proto.h b/proto.h index c93ac8059b..62585a4100 100644 --- a/proto.h +++ b/proto.h @@ -1359,7 +1359,7 @@ PERL_CALLCONV UV Perl_grok_hex(pTHX_ const char* start, STRLEN* len_p, I32* flag #define PERL_ARGS_ASSERT_GROK_HEX \ assert(start); assert(len_p); assert(flags) -PERL_CALLCONV int Perl_grok_infnan(pTHX_ const char** sp, const char *send) +PERL_CALLCONV int Perl_grok_infnan(pTHX_ const char** sp, const char *send, NV *nvp) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2); #define PERL_ARGS_ASSERT_GROK_INFNAN \ @@ -1384,6 +1384,11 @@ PERL_CALLCONV int Perl_grok_number(pTHX_ const char *pv, STRLEN len, UV *valuep) #define PERL_ARGS_ASSERT_GROK_NUMBER \ assert(pv) +PERL_CALLCONV int Perl_grok_number2_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, NV* nvp, U32 flags) + __attribute__nonnull__(pTHX_1); +#define PERL_ARGS_ASSERT_GROK_NUMBER2_FLAGS \ + assert(pv) + PERL_CALLCONV int Perl_grok_number_flags(pTHX_ const char *pv, STRLEN len, UV *valuep, U32 flags) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_GROK_NUMBER_FLAGS \ -- cgit v1.2.1