diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-17 23:01:50 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-17 23:01:50 +0000 |
commit | 1281cb00e53d2a4425fc28c3f75dee48e8e7a2d3 (patch) | |
tree | 0ef783f01acbc6a5b1412888bd974b826494f58f /eval_intern.h | |
parent | 97591e82d9ba3b7204110302b52540007ff081a5 (diff) | |
download | bundler-1281cb00e53d2a4425fc28c3f75dee48e8e7a2d3.tar.gz |
* proc.c (rb_obj_public_method): Object#public_method to retrieve
public method object.
* proc.c (rb_mod_public_instance_method): Module#public_instance_method
to retrieve public instance method from class / module.
* proc.c (mnew): visibility check added.
* eval_error.ci (rb_print_undef): add rb_ prefix.
* eval_error.ci (rb_print_undef): add visibility in the error
message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_intern.h')
-rw-r--r-- | eval_intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eval_intern.h b/eval_intern.h index 61164de9a9..15202fa2f8 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -204,7 +204,7 @@ VALUE rb_make_exception _((int argc, VALUE *argv)); NORETURN(void rb_fiber_start(void)); NORETURN(void rb_raise_jump _((VALUE))); -NORETURN(void print_undef _((VALUE, ID))); +NORETURN(void rb_print_undef _((VALUE, ID, int))); NORETURN(void vm_localjump_error(const char *, VALUE, int)); NORETURN(void vm_jump_tag_but_local_jump(int, VALUE)); |