mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
digest: no ID cache
* ext/digest/*/*init.c: no need to cache interned IDs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
11ac08676d
commit
4068d9089a
4 changed files with 7 additions and 7 deletions
|
@ -40,6 +40,6 @@ Init_md5(void)
|
|||
|
||||
#undef RUBY_UNTYPED_DATA_WARNING
|
||||
#define RUBY_UNTYPED_DATA_WARNING 0
|
||||
rb_ivar_set(cDigest_MD5, rb_intern("metadata"),
|
||||
Data_Wrap_Struct(0, 0, 0, (void *)&md5));
|
||||
rb_iv_set(cDigest_MD5, "metadata",
|
||||
Data_Wrap_Struct(0, 0, 0, (void *)&md5));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue