1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
akr 8f842d71e9 * include/ruby/ruby.h (RObject): add iv_index_tbl for shortcut of
RCLASS_IV_INDEX_TBL(rb_obj_class(obj)).
  (ROBJECT_IV_INDEX_TBL): defined.

* object.c (init_copy): initialize iv_index_tbl in struct RObject.

* variable.c (ivar_get): use ROBJECT_IV_INDEX_TBL.
  (rb_ivar_defined): ditto.
  (obj_ivar_each): ditto.
  (rb_obj_remove_instance_variable): ditto.
  (rb_ivar_set): update iv_index_tbl in struct RObject.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-13 11:52:46 +00:00
..
defines.h * defines.h (WORDS_BIGENDIAN): honor __BIG_ENDIAN__ than the result of 2008-01-11 02:57:38 +00:00
encoding.h * include/ruby/oniguruma.h: precise mbclen API redesigned to avoid 2008-01-27 14:27:07 +00:00
intern.h * string.c (rb_str_hash_cmp): lighter version of rb_str_cmp() for 2008-02-12 03:17:43 +00:00
io.h * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
missing.h * math.c (math_gamma): new method Math.gamma. 2008-02-07 01:43:43 +00:00
node.h * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
oniguruma.h * include/ruby/oniguruma.h: precise mbclen API redesigned to avoid 2008-01-27 14:27:07 +00:00
re.h * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
regex.h * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
ruby.h * include/ruby/ruby.h (RObject): add iv_index_tbl for shortcut of 2008-02-13 11:52:46 +00:00
signal.h * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
st.h * include/ruby/encoding.h (rb_isascii): defined. 2008-01-01 12:24:04 +00:00
util.h * $Date$ keyword removed to avoid inclusion of locale dependent 2008-01-06 15:49:38 +00:00
win32.h * win32.h: only VC6 needs extern "C++" for math.h. [ruby-talk:285660] 2008-01-03 16:20:29 +00:00