From 11aa6c4107390e581f7a6d9bcc74072fc717f13f Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 5 Dec 2009 10:25:28 +0000 Subject: [PATCH] * marshal.c (w_object): dump instance variables when using marshal_dump. [ruby-core:24211] * variable.c (rb_ivar_count): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/intern.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ruby/intern.h b/include/ruby/intern.h index fd37ecab2a..91551079da 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -791,6 +791,7 @@ VALUE rb_ivar_get(VALUE, ID); VALUE rb_ivar_set(VALUE, ID, VALUE); VALUE rb_ivar_defined(VALUE, ID); void rb_ivar_foreach(VALUE, int (*)(ANYARGS), st_data_t); +st_index_t rb_ivar_count(VALUE); VALUE rb_iv_set(VALUE, const char*, VALUE); VALUE rb_iv_get(VALUE, const char*); VALUE rb_attr_get(VALUE, ID);