diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-11 12:42:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-11 12:42:50 +0000 |
commit | cc2334bd7bdeae8e91397576020d397a3d04af5f (patch) | |
tree | 93fcdac5b5aa7c4d11a6e011a89275cd2103ffac /intern.h | |
parent | a3cb2093ef475648c1845b70122639e9f69e85e7 (diff) |
* eval.c (rb_obj_respond_to): check if obj responds to the given
method with the given visibility. [ruby-dev:27408]
* eval.c (rb_respond_to): conform to Object#respond_to?. [ruby-dev:27411]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r-- | intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -221,6 +221,7 @@ void rb_dvar_asgn(ID, VALUE); void rb_dvar_push(ID, VALUE); VALUE *rb_svar(int); VALUE rb_eval_cmd(VALUE, VALUE, int); +int rb_obj_respond_to(VALUE, ID, int); int rb_respond_to(VALUE, ID); void rb_interrupt(void); VALUE rb_apply(VALUE, ID, VALUE); |