mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eb5147779d
commit
d5526c660d
3 changed files with 9 additions and 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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue