diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-16 14:02:21 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-16 14:02:21 +0000 |
commit | 9606ff514f4563969023254652a32c7c22b82d4b (patch) | |
tree | c703b0c428288ad2d0f63f1b28cc710bd29b1342 /node.h | |
parent | 1aeb9b93c2446b07eb20b9ac4518014b1276911a (diff) | |
download | ruby-9606ff514f4563969023254652a32c7c22b82d4b.tar.gz |
* eval.c (rb_call0): call_cfunc() should be protected.
* eval.c (rb_add_event_hook): use K&R style.
* eval.c (rb_remove_event_hook): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -379,8 +379,8 @@ typedef unsigned int rb_event_t; #define RUBY_EVENT_ALL 0xff typedef void (*rb_event_hook_func_t)_((rb_event_t,NODE*,VALUE,ID,VALUE)); -void rb_add_event_hook(rb_event_hook_func_t,rb_event_t); -int rb_remove_event_hook(rb_event_hook_func_t); +void rb_add_event_hook _((rb_event_hook_func_t,rb_event_t)); +int rb_remove_event_hook _((rb_event_hook_func_t)); #if defined(__cplusplus) } /* extern "C" { */ |