diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-07-28 16:40:02 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-08-24 10:37:41 +0900 |
commit | c38c2d8ee26c70300e2e0a4eec867273a8520579 (patch) | |
tree | 0e368c3bbf3f1464bcd703e77649d4c6c9835325 /include/ruby/util.h | |
parent | 4794a8a7cf4c9da00728e691b81dadb103383108 (diff) |
Moved exported symbols in internal/util.h to ruby/util.h
[Feature #18051]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4763
Diffstat (limited to 'include/ruby/util.h')
-rw-r--r-- | include/ruby/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/util.h b/include/ruby/util.h index af022dacbd..660f91de8e 100644 --- a/include/ruby/util.h +++ b/include/ruby/util.h @@ -19,6 +19,10 @@ RBIMPL_SYMBOL_EXPORT_BEGIN() #define DECIMAL_SIZE_OF_BITS(n) (((n) * 3010 + 9998) / 9999) /* an approximation of ceil(n * log10(2)), up to 65536 at least */ +RUBY_EXTERN const signed char ruby_digit36_to_number_table[]; +RUBY_EXTERN const char ruby_hexdigits[]; + +unsigned long ruby_scan_digits(const char *str, ssize_t len, int base, size_t *retlen, int *overflow); #define scan_oct(s,l,e) ((int)ruby_scan_oct((s),(l),(e))) unsigned long ruby_scan_oct(const char *, size_t, size_t *); #define scan_hex(s,l,e) ((int)ruby_scan_hex((s),(l),(e))) |