diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | README.EXT | 2 | ||||
-rw-r--r-- | README.EXT.ja | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +Mon Oct 13 08:44:06 2014 Zachary Scott <e@zzak.io> + + * README.EXT: [DOC] fix example missing typedef with patch by + @steveklabnik [Fixes GH-739] https://github.com/ruby/ruby/pull/739 + + * README.EXT.jp: ditto. + Mon Oct 13 06:52:09 2014 Eric Wong <e@80x24.org> * array.c (ary_recycle_hash): add RB_GC_GUARD diff --git a/README.EXT b/README.EXT index 9f5c1a83fc..49de246ec0 100644 --- a/README.EXT +++ b/README.EXT @@ -689,7 +689,7 @@ Here's the example of an initializing function. Init_dbm(void) { /* define DBM class */ - cDBM = rb_define_class("DBM", rb_cObject); + VALUE cDBM = rb_define_class("DBM", rb_cObject); /* DBM includes Enumerable module */ rb_include_module(cDBM, rb_mEnumerable); diff --git a/README.EXT.ja b/README.EXT.ja index 447b21c2a0..3288821019 100644 --- a/README.EXT.ja +++ b/README.EXT.ja @@ -757,7 +757,7 @@ Rubyは拡張ライブラリをロードする時に「Init_ライブラリ名 Init_dbm(void) { /* DBMクラスを定義する */ - cDBM = rb_define_class("DBM", rb_cObject); + VALUE cDBM = rb_define_class("DBM", rb_cObject); /* DBMはEnumerableモジュールをインクルードする */ rb_include_module(cDBM, rb_mEnumerable); |