diff options
Diffstat (limited to 'include/ruby/ruby.h')
-rw-r--r-- | include/ruby/ruby.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index 8ce623dfe3..c5184f7ca6 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -986,4 +986,7 @@ int rb_remove_event_hook(rb_event_hook_func_t func); #define STRCASECMP(s1, s2) (st_strcasecmp(s1, s2)) #define STRNCASECMP(s1, s2, n) (st_strncasecmp(s1, s2, n)) +unsigned long ruby_strtoul(const char *str, char **endptr, int base); +#define STRTOUL(str, endptr, base) (ruby_strtoul(str, endptr, base)) + #endif /* RUBY_H */ |