зеркало из https://github.com/github/ruby.git
* 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:
Родитель
eb5147779d
Коммит
d5526c660d
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче