summaryrefslogtreecommitdiff
path: root/ext/digest/digest.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-11 02:31:59 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-11 02:31:59 +0000
commit1b19c063b8517a4b1c9c31029c49023fa74fb3bd (patch)
tree2fd220237aec2e4775cb26d7a31c64feb57cac55 /ext/digest/digest.c
parent9be47132afd80a4b0f54c178f7237bd197fadf46 (diff)
* ext/digest/digest.c (rb_digest_base_copy): renamed "become".
* ext/stringio/stringio.c (strio_copy): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest/digest.c')
-rw-r--r--ext/digest/digest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index 7b4ea0f..63a3b92 100644
--- a/ext/digest/digest.c
+++ b/ext/digest/digest.c
@@ -139,7 +139,7 @@ rb_digest_base_s_hexdigest(klass, str)
}
static VALUE
-rb_digest_base_become(copy, obj)
+rb_digest_base_copy(copy, obj)
VALUE copy, obj;
{
algo_t *algo;
@@ -302,7 +302,7 @@ Init_digest()
rb_define_singleton_method(cDigest_Base, "hexdigest", rb_digest_base_s_hexdigest, 1);
rb_define_method(cDigest_Base, "initialize", rb_digest_base_init, -1);
- rb_define_method(cDigest_Base, "become", rb_digest_base_become, 1);
+ rb_define_method(cDigest_Base, "copy_object", rb_digest_base_copy, 1);
rb_define_method(cDigest_Base, "update", rb_digest_base_update, 1);
rb_define_method(cDigest_Base, "<<", rb_digest_base_update, 1);
rb_define_method(cDigest_Base, "digest", rb_digest_base_digest, 0);