1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

avoid rdoc's warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2012-02-25 20:37:12 +00:00
parent a38958a521
commit 2646c69479
4 changed files with 13 additions and 0 deletions

View file

@ -30,6 +30,9 @@ Init_md5()
rb_require("digest"); rb_require("digest");
#if 0
mDigest = rb_define_module("Digest"); /* let rdoc know */
#endif
mDigest = rb_path2class("Digest"); mDigest = rb_path2class("Digest");
cDigest_Base = rb_path2class("Digest::Base"); cDigest_Base = rb_path2class("Digest::Base");

View file

@ -30,6 +30,9 @@ Init_rmd160()
rb_require("digest"); rb_require("digest");
#if 0
mDigest = rb_define_module("Digest"); /* let rdoc know */
#endif
mDigest = rb_path2class("Digest"); mDigest = rb_path2class("Digest");
cDigest_Base = rb_path2class("Digest::Base"); cDigest_Base = rb_path2class("Digest::Base");

View file

@ -30,6 +30,9 @@ Init_sha1()
rb_require("digest"); rb_require("digest");
#if 0
mDigest = rb_define_module("Digest"); /* let rdoc know */
#endif
mDigest = rb_path2class("Digest"); mDigest = rb_path2class("Digest");
cDigest_Base = rb_path2class("Digest::Base"); cDigest_Base = rb_path2class("Digest::Base");

View file

@ -1901,6 +1901,10 @@ do{\
OSSL_ASN1_DEFINE_CLASS(EndOfContent, Data); OSSL_ASN1_DEFINE_CLASS(EndOfContent, Data);
#if 0
cASN1ObjectId = rb_define_class_under(mASN1, "ObjectId", cASN1Primitive); /* let rdoc know */
#endif
rb_define_singleton_method(cASN1ObjectId, "register", ossl_asn1obj_s_register, 3); rb_define_singleton_method(cASN1ObjectId, "register", ossl_asn1obj_s_register, 3);
rb_define_method(cASN1ObjectId, "sn", ossl_asn1obj_get_sn, 0); rb_define_method(cASN1ObjectId, "sn", ossl_asn1obj_get_sn, 0);
rb_define_method(cASN1ObjectId, "ln", ossl_asn1obj_get_ln, 0); rb_define_method(cASN1ObjectId, "ln", ossl_asn1obj_get_ln, 0);