summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-05 10:25:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-05 10:25:28 +0000
commit11aa6c4107390e581f7a6d9bcc74072fc717f13f (patch)
tree1208d4c5a47ae2108b2cd643bd8206f4054e2c96 /include/ruby
parent1cc1ea378a0912bfcbe55399369da47a724427aa (diff)
downloadruby-11aa6c4107390e581f7a6d9bcc74072fc717f13f.tar.gz
* 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
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/intern.h1
1 files changed, 1 insertions, 0 deletions
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);