diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-18 14:30:17 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-02-18 14:30:17 +0000 |
commit | b654e1dd8bca6b5831f8d58902a7c573ebb1cb03 (patch) | |
tree | 1cdebfa2fe2170d793fd70ece0e7dd9d97d1ede5 /intern.h | |
parent | 7c18d988fce265673cbb84c6c4523f4d4aba856e (diff) | |
download | ruby-b654e1dd8bca6b5831f8d58902a7c573ebb1cb03.tar.gz ruby-b654e1dd8bca6b5831f8d58902a7c573ebb1cb03.tar.xz ruby-b654e1dd8bca6b5831f8d58902a7c573ebb1cb03.zip |
* eval.c (rb_call0): should not report uninitialized warning by
attribute reader method.
* variable.c (rb_attr_get): new function to get instance variable
without uninitialized warning.
* io.c (argf_to_io): should prefetch argv.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r-- | intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,6 @@ void rb_undef _((VALUE, ID)); void rb_define_protected_method _((VALUE, const char*, VALUE (*)(ANYARGS), int)); void rb_define_private_method _((VALUE, const char*, VALUE (*)(ANYARGS), int)); void rb_define_singleton_method _((VALUE, const char*, VALUE(*)(ANYARGS), int)); -void rb_define_private_method _((VALUE, const char*, VALUE(*)(ANYARGS), int)); VALUE rb_singleton_class _((VALUE)); /* compar.c */ int rb_cmpint _((VALUE)); @@ -437,6 +436,7 @@ VALUE rb_ivar_set _((VALUE, ID, VALUE)); VALUE rb_ivar_defined _((VALUE, ID)); VALUE rb_iv_set _((VALUE, const char*, VALUE)); VALUE rb_iv_get _((VALUE, const char*)); +VALUE rb_attr_get _((VALUE, ID)); VALUE rb_obj_instance_variables _((VALUE)); VALUE rb_obj_remove_instance_variable _((VALUE, VALUE)); void *rb_mod_const_at _((VALUE, void*)); |