From 3a08b7e2047235a4687944f1102d199f0ade48b3 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 22 May 2015 12:13:14 +0000 Subject: [PATCH] intern.h: move rb_sym_all_symbols MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- ChangeLog | 6 ++++++ include/ruby/intern.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bf9c72cc2b..99cfbef936 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri May 22 21:13:12 2015 Nobuyoshi Nakada + + * 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 * 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__ ( \