(2014/09/12 19:03), Eric Wong wrote:
> Yes, I think the following API is OK.  rb_proc_t is big.
> The new inline rb_proc_alloc() takes 7(!) parameters.
> Maybe we can drop klass since that is always rb_cProc.

Nice.

Additionally, I recommend to move the definition from vm_core.h to vm.c
(and expose it) because proc_dup() in proc.c is minor function.

-- 
// SASADA Koichi at atdot dot net