diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-22 12:13:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-22 12:13:14 +0000 |
commit | c54b029baecc6907f30447ced6ec84e57e40ee11 (patch) | |
tree | 229f079f3edd03001eb03c420108542d5c13a111 | |
parent | 10c60cf942c97576613ea84f477169bc529567cc (diff) | |
download | ruby-c54b029baecc6907f30447ced6ec84e57e40ee11.tar.gz |
intern.h: move rb_sym_all_symbols
* include/ruby/intern.h (rb_sym_count): move `rb_sym_all_symbols`
to a symbol.c specific section. a part of patch by Lourens
Naudé.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | include/ruby/intern.h | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Fri May 22 21:13:12 2015 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * include/ruby/intern.h (rb_sym_count): move `rb_sym_all_symbols` + to a symbol.c specific section. a part of patch by Lourens + Naude. + Fri May 22 20:56:33 2015 NAKAMURA Usaku <usa@ruby-lang.org> * complex.c (f_complex_polar): simple bug reproduced only when y is diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 1d4d90a5ba..f946e7e831 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -636,7 +636,6 @@ VALUE rb_backref_get(void); void rb_backref_set(VALUE); VALUE rb_lastline_get(void); void rb_lastline_set(VALUE); -VALUE rb_sym_all_symbols(void); /* process.c */ void rb_last_status_set(int status, rb_pid_t pid); VALUE rb_last_status_get(void); @@ -790,6 +789,8 @@ long rb_str_offset(VALUE, long); size_t rb_str_capacity(VALUE); VALUE rb_str_ellipsize(VALUE, long); VALUE rb_str_scrub(VALUE, VALUE); +/* symbol.c */ +VALUE rb_sym_all_symbols(void); #if defined(__GNUC__) && !defined(__PCC__) #define rb_str_new(str, len) __extension__ ( \ |