diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-06-08 00:49:37 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-06-08 03:40:33 +0000 |
commit | bf95a17c8463f5540738dd4c876e83f2272e778c (patch) | |
tree | 2dfd43b63e3021771ac60d31cd639541e4cbece4 | |
parent | 0619312bb53cb64dedbfbf30eafd3a708b72588e (diff) |
[ruby/digest] [DOC] Update document to use `rb_digest_make_metadata`
https://github.com/ruby/digest/commit/c5c1debd43
-rw-r--r-- | ext/digest/digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c index 06b07bb886..bd8d3e815f 100644 --- a/ext/digest/digest.c +++ b/ext/digest/digest.c @@ -534,7 +534,7 @@ rb_digest_class_init(VALUE self) * * * rb_ivar_set(cDigest_SHA1, rb_intern("metadata"), - * Data_Wrap_Struct(0, 0, 0, (void *)&sha1)); + * rb_digest_make_metadata(&sha1)); */ #ifdef DIGEST_USE_RB_EXT_RESOLVE_SYMBOL |