diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-29 12:17:47 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-29 12:17:47 +0000 |
commit | 2f2f92b73ed49d5de6884945d14beaee45965739 (patch) | |
tree | 6daa8ebc7234b03a189d4a7234d540589537afd9 /ext/digest/rmd160 | |
parent | b5de461a49fc5a4fcaa122d6f3ca5c3fa338105b (diff) | |
download | bundler-2f2f92b73ed49d5de6884945d14beaee45965739.tar.gz |
digest: no check for hidden objects
* ext/digest/digest.c (get_digest_base_metadata): metadata objects
are hidden from ruby level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/rmd160')
-rw-r--r-- | ext/digest/rmd160/rmd160init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/digest/rmd160/rmd160init.c b/ext/digest/rmd160/rmd160init.c index c214ca9f33..d88a3d3e69 100644 --- a/ext/digest/rmd160/rmd160init.c +++ b/ext/digest/rmd160/rmd160init.c @@ -38,6 +38,8 @@ Init_rmd160() cDigest_RMD160 = rb_define_class_under(mDigest, "RMD160", cDigest_Base); +#undef RUBY_UNTYPED_DATA_WARNING +#define RUBY_UNTYPED_DATA_WARNING 0 rb_ivar_set(cDigest_RMD160, rb_intern("metadata"), Data_Wrap_Struct(rb_cObject, 0, 0, (void *)&rmd160)); } |