[#20392] [BigDecimal] proposal to change specification — "Tadashi Saito" <shiba@...2.accsnet.ne.jp>

斎藤と申します。

25 messages 2003/06/20
[#20407] Re: [BigDecimal] proposal to change specification — "Shigeo Kobayashi" <shigeo@...> 2003/06/22

小林です。

[#20447] [BigDecimal] renaming proposal — "Tadashi Saito" <shiba@...2.accsnet.ne.jp>

斎藤です。

47 messages 2003/06/24
[#20621] Re: [BigDecimal] renaming proposal — "Shigeo Kobayashi" <shigeo@...> 2003/07/11

小林@MAILチェック中です。

[#20628] Re: [BigDecimal] renaming proposal — "Shigeo Kobayashi" <shigeo@...> 2003/07/11

小林です。

[ruby-dev:20350] How to create Proc from C extension

From: nobu.nakada@...
Date: 2003-06-16 07:03:29 UTC
List: ruby-dev #20350
なかだです。

最近はrb_proc_new()もMethod#to_procもBlockを返すようになってま
すが、CからProcを作る方法はProc.newを呼ぶ以外はなしでしょうか。

static VALUE
make_proc()
{
    return rb_funcall3(rb_cProc, rb_intern("new"), 0, 0);
}

    VALUE method;
    method = rb_iterate(make_proc, Qnil, func, Qnil);

-- 
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
    中田 伸悦

In This Thread

Prev Next