summaryrefslogtreecommitdiff
path: root/ext/digest/digest.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-21 16:41:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-22 00:19:56 +0900
commita9638511009bb8847dfb037d05bdbbdd685066e7 (patch)
tree3bce36e74b60efde6f302d94d4d73788004dbebb /ext/digest/digest.h
parent74c6662af5d9748baff7c32e8f0baf7996dd898e (diff)
downloadruby-a9638511009bb8847dfb037d05bdbbdd685066e7.tar.gz
Hoisted out rb_id_metadata
Diffstat (limited to 'ext/digest/digest.h')
-rw-r--r--ext/digest/digest.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/digest/digest.h b/ext/digest/digest.h
index d9997b5db0..4b6954089f 100644
--- a/ext/digest/digest.h
+++ b/ext/digest/digest.h
@@ -56,3 +56,9 @@ rb_digest_namespace(void)
rb_require("digest");
return rb_path2class("Digest");
}
+
+static inline ID
+rb_id_metadata(void)
+{
+ return rb_intern_const("metadata");
+}