Skip to content

Commit 5e2a5a3

Browse files
committed
Add parse_unsigned/parse_integer/parse_double to SKIP_NUMBERPARSING
1 parent 43a66a7 commit 5e2a5a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/simdjson/generic/numberparsing.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,10 @@ simdjson_really_inline error_code parse_number(const uint8_t *const, W &writer)
454454
return SUCCESS; // always succeeds
455455
}
456456

457+
SIMDJSON_UNUSED simdjson_really_inline simdjson_result<uint64_t> parse_unsigned(const uint8_t * const src) noexcept { return 0; }
458+
SIMDJSON_UNUSED simdjson_really_inline simdjson_result<int64_t> parse_integer(const uint8_t * const src) noexcept { return 0; }
459+
SIMDJSON_UNUSED simdjson_really_inline simdjson_result<double> parse_double(const uint8_t * const src) noexcept { return 0; }
460+
457461
#else
458462

459463
// parse the number at src

0 commit comments

Comments
 (0)