[前][次][番号順一覧][スレッド一覧]

ruby-changes:65321

From: Lars <ko1@a...>
Date: Tue, 23 Feb 2021 10:48:55 +0900 (JST)
Subject: [ruby-changes:65321] 09c74a1702 (master): [DOC] Fix copy+paste mistake [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=09c74a1702

From 09c74a170219818e8317806df170f72812db0ef8 Mon Sep 17 00:00:00 2001
From: Lars Kanis <lars@g...>
Date: Mon, 22 Feb 2021 16:35:47 +0100
Subject: [DOC] Fix copy+paste mistake [ci skip]

It was introduced in commit 089b7a84606925e885fe91050483a352735aa91e .
---
 doc/extension.rdoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/extension.rdoc b/doc/extension.rdoc
index 5032050..f28f401 100644
--- a/doc/extension.rdoc
+++ b/doc/extension.rdoc
@@ -817,7 +817,7 @@ Here's the example of an initializing function. https://github.com/ruby/ruby/blob/trunk/doc/extension.rdoc#L817
       /* define DBM class */
       VALUE cDBM = rb_define_class("DBM", rb_cObject);
       /* Redefine DBM.allocate
-      rb_define_alloc_func(rb_cDBM, fdbm_alloc);
+      rb_define_alloc_func(cDBM, fdbm_alloc);
       /* DBM includes Enumerable module */
       rb_include_module(cDBM, rb_mEnumerable);
 
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]