Skip to content

Commit

Permalink
* README.EXT: [DOC] fix example missing typedef with patch by
Browse files Browse the repository at this point in the history
  @steveklabnik [Fixes rubyGH-739] ruby#739

* README.EXT.jp: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
zzak committed Oct 12, 2014
1 parent eb51477 commit d5526c6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Mon Oct 13 08:44:06 2014 Zachary Scott <[email protected]>

* 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 <[email protected]>

* array.c (ary_recycle_hash): add RB_GC_GUARD
Expand Down
2 changes: 1 addition & 1 deletion README.EXT
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion README.EXT.ja
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit d5526c6

Please sign in to comment.