From 0229827c8b6f567c4c7a36945c966e8a676a1159 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 12 Feb 2012 11:44:06 +0000 Subject: * include/ruby/ruby.h (rb_event_hook_func_t): add argument names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ include/ruby/ruby.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d1e333f820..64ca095286 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Feb 12 20:43:54 2012 Nobuyoshi Nakada + + * include/ruby/ruby.h (rb_event_hook_func_t): add argument names. + Sun Feb 12 16:30:23 2012 Akinori MUSHA * tool/merger.rb (#default_merge_branch): Add support for diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h index ef58a7d8b0..75f0d71965 100644 --- a/include/ruby/ruby.h +++ b/include/ruby/ruby.h @@ -1419,7 +1419,7 @@ int ruby_native_thread_p(void); #define RUBY_EVENT_COVERAGE 0x40000 typedef unsigned int rb_event_flag_t; -typedef void (*rb_event_hook_func_t)(rb_event_flag_t, VALUE data, VALUE, ID, VALUE klass); +typedef void (*rb_event_hook_func_t)(rb_event_flag_t evflag, VALUE data, VALUE self, ID mid, VALUE klass); typedef struct rb_event_hook_struct { rb_event_flag_t flag; -- cgit v1.2.3