summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-02-07 15:07:08 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2015-02-08 21:54:50 -0500
commit4de1bcfe1abdaba0a5da394ddea0cc6fd7e36c7b (patch)
treea0b10c09f5cfd95a1f2d54a6cbf19c6ded54356a /proto.h
parent6e915616c4ccb4f6cc3122c5d395765db96c0a2d (diff)
downloadperl-4de1bcfe1abdaba0a5da394ddea0cc6fd7e36c7b.tar.gz
infnan: grok_number* setting the infnan NV directly
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h7
1 files changed, 6 insertions, 1 deletions
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 \