* include/ruby/ruby.h: add old macro name `RUBY_EVENT_SWITCH'.

This macro name is obsolete because it is renamed to
  RUBY_INTERNAL_EVENT_SWITCH, but it has compatibility problem
  using this macro name like ruby-prof.
  I want to remove this macro after ruby 2.1.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2013-08-08 07:50:55 +00:00
Родитель f21d6210eb
Коммит c9d01961f1
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,11 @@
Thu Aug 8 16:44:25 2013 Koichi Sasada <ko1@atdot.net>
* include/ruby/ruby.h: add old macro name `RUBY_EVENT_SWITCH'.
This macro name is obsolete because it is renamed to
RUBY_INTERNAL_EVENT_SWITCH, but it has compatibility problem
using this macro name like ruby-prof.
I want to remove this macro after ruby 2.1.
Thu Aug 8 15:37:53 2013 NAKAMURA Usaku <usa@ruby-lang.org>
* test/coverage/test_coverage.rb (TestCoverage#test_big_code): use `1'

Просмотреть файл

@ -1769,6 +1769,7 @@ int ruby_native_thread_p(void);
/* internal events */
#define RUBY_INTERNAL_EVENT_SWITCH 0x040000
#define RUBY_EVENT_SWITCH 0x040000 /* obsolete name. this macro is for compatibility */
/* 0x080000 */
#define RUBY_INTERNAL_EVENT_NEWOBJ 0x100000
#define RUBY_INTERNAL_EVENT_FREEOBJ 0x200000