diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-30 08:29:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-30 08:29:02 +0000 |
commit | b208e060f2b6c35fd6da2fd025e54edcd6055c8d (patch) | |
tree | 1ffe50a75ff0c634970672096bc487180ea6fd25 /ext/digest/sha2 | |
parent | 28b9f11d5a4b878adb50a3e5472ceea8c462ed4a (diff) | |
download | ruby-b208e060f2b6c35fd6da2fd025e54edcd6055c8d.tar.gz |
ext/digest: hide metadata objects for internal use
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/sha2')
-rw-r--r-- | ext/digest/sha2/sha2init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/sha2/sha2init.c b/ext/digest/sha2/sha2init.c index 2b0585543a..8a5faeee57 100644 --- a/ext/digest/sha2/sha2init.c +++ b/ext/digest/sha2/sha2init.c @@ -50,7 +50,7 @@ Init_sha2(void) cDigest_SHA##bitlen = rb_define_class_under(mDigest, "SHA" #bitlen, cDigest_Base); \ \ rb_ivar_set(cDigest_SHA##bitlen, id_metadata, \ - Data_Wrap_Struct(rb_cObject, 0, 0, (void *)&sha##bitlen)); + Data_Wrap_Struct(0, 0, 0, (void *)&sha##bitlen)); #undef RUBY_UNTYPED_DATA_WARNING #define RUBY_UNTYPED_DATA_WARNING 0 |